diff --git a/content/tokio/tutorial/spawning.md b/content/tokio/tutorial/spawning.md index 6b9d4544..ec68cdb6 100644 --- a/content/tokio/tutorial/spawning.md +++ b/content/tokio/tutorial/spawning.md @@ -373,7 +373,7 @@ async fn process(socket: TcpStream) { use std::collections::HashMap; // A hashmap is used to store data - let mut db = HashMap::new(); + let mut db = HashMap::>::new(); // Connection, provided by `mini-redis`, handles parsing frames from // the socket