mirror of
https://github.com/Dummi26/mers.git
synced 2025-03-10 14:13:52 +01:00
remove COW::Get debug print from debug builds
This commit is contained in:
parent
44da27b414
commit
b85183d081
@ -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>> {
|
||||||
|
Loading…
Reference in New Issue
Block a user