diff --git a/content/tokio/tutorial/shared-state.md b/content/tokio/tutorial/shared-state.md index 771564c1..c44d9dc1 100644 --- a/content/tokio/tutorial/shared-state.md +++ b/content/tokio/tutorial/shared-state.md @@ -345,7 +345,7 @@ introduce `N` distinct instances. ```rust # use std::collections::HashMap; # use std::sync::{Arc, Mutex}; -type ShardedDb = Arc>>>>; +type ShardedDb = Arc>>>; fn new_sharded_db(num_shards: usize) -> ShardedDb { let mut db = Vec::with_capacity(num_shards);