pub fn downgrade<T>(
write_guard: RwLockWriteGuard<'_, T>,
) -> RwLockReadGuard<'_, T>Expand description
Simple wrapper around [parking_lot::RwLockWriteGuard::downgrade] so that
dependent libraries don’t have to include the dependency within their
Cargo.toml files.