diff --git a/src/sync.rs b/src/sync.rs index 67001cd..6861033 100644 --- a/src/sync.rs +++ b/src/sync.rs @@ -181,7 +181,7 @@ struct Shard { } impl Shard { - const fn new() -> Self { + fn new() -> Self { Self { map: RwLock::new(HashMap::new()), waiters: Mutex::new(HashMap::new()),