diff --git a/riven/src/util/insert_only_chashmap.rs b/riven/src/util/insert_only_chashmap.rs index 8aaca79..39617d2 100644 --- a/riven/src/util/insert_only_chashmap.rs +++ b/riven/src/util/insert_only_chashmap.rs @@ -1,4 +1,3 @@ -// use std::borrow::Borrow; use std::collections::HashMap; use std::hash::Hash; use std::sync::Arc; @@ -17,15 +16,6 @@ impl InsertOnlyCHashMap { } } - // #[inline] - // pub fn get(&self, key: &Q) -> Option> - // where - // K: Borrow, - // Q: Hash + Eq, - // { - // self.base.lock().get(key).map(|v| Arc::clone(v)) - // } - #[inline] pub fn get_or_insert_with V>(&self, key: K, default: F) -> Arc { Arc::clone(