1
0
mirror of https://github.com/actix/examples synced 2025-06-27 01:27:43 +02:00

update actix web to stable version

This commit is contained in:
Rob Ede
2022-02-25 21:07:22 +00:00
parent c3a74c6823
commit 4dc9199781
61 changed files with 144 additions and 150 deletions

View File

@ -107,7 +107,7 @@ impl Handler<Connect> for ChatServer {
println!("Someone joined");
// notify all users in same room
self.send_message(&"Main".to_owned(), "Someone joined", 0);
self.send_message("Main", "Someone joined", 0);
// register session with random id
let id = self.rng.gen::<usize>();