Function gix_features::threading::downgrade_mut_to_ref

source ยท
pub fn downgrade_mut_to_ref<'a, T>(
    v: RwLockWriteGuard<'a, T>,
    _orig: &'a MutableOnDemand<T>
) -> RefGuard<'a, T>
Available on crate feature parallel only.
Expand description

Downgrade a handle previously obtained with get_mut() to drop mutation support.