mirror of
https://github.com/actix/actix-web.git
synced 2024-12-21 23:56:35 +00:00
fix example
This commit is contained in:
parent
11347e3c7d
commit
dbfa1f0ac8
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ impl Handler<ClientCommand> for ChatClient {
|
||||||
type Result = ();
|
type Result = ();
|
||||||
|
|
||||||
fn handle(&mut self, msg: ClientCommand, ctx: &mut Context<Self>) {
|
fn handle(&mut self, msg: ClientCommand, ctx: &mut Context<Self>) {
|
||||||
self.0.text(msg.0.as_str())
|
self.0.text(msg.0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue