remove COW::Get debug print from debug builds

This commit is contained in:
Mark 2024-02-15 09:21:31 +01:00
parent 44da27b414
commit b85183d081

View File

@ -138,8 +138,6 @@ impl Data {
} }
} }
pub fn get(&self) -> RwLockReadGuard<Box<dyn MersData>> { pub fn get(&self) -> RwLockReadGuard<Box<dyn MersData>> {
#[cfg(debug_assertions)]
eprintln!("[mers:data:cow] get");
self.data.read().unwrap() self.data.read().unwrap()
} }
pub fn get_mut_unchecked(&self) -> RwLockWriteGuard<Box<dyn MersData>> { pub fn get_mut_unchecked(&self) -> RwLockWriteGuard<Box<dyn MersData>> {