fn remove_handle_impl<T: 'static>(handle: Handle, ownership: HandleOwnershipType) {
    check_handle_impl::<T>(handle, Some(ownership));
    // Return value is ignored because `check_handle_impl` already checks that handle is present.
    HANDLES_MAP
        .write()
        .expect("Unable to obtain write-lock")
        .remove(&handle);
}
/// Removes the given handle from the resource manager.
///
/// # Panics
///
/// See `check_handle_impl` for details.
Removes the given handle from the resource manager.
Removes the given handle from the resource manager .
fn remove_handle_impl<T: 'static>(handle: Handle, ownership: HandleOwnershipType) {
    check_handle_impl::<T>(handle, Some(ownership));
    // Return value is ignored because `check_handle_impl` already checks that handle is present.
    HANDLES_MAP
        .write()
        .expect("Unable to obtain write-lock")
        .remove(&handle);
}
fn remove_handle_impl < T : ' static > ( handle : Handle , ownership : HandleOwnershipType ) { check_handle_impl :: < T > ( handle , Some ( ownership ) ) ; // Return value is ignored because `check_handle_impl` already checks that handle is present. HANDLES_MAP . write ( ) . expect ( " " ) . remove ( & handle ) ; }
Removes the given handle from the resource manager.
Removes the given handle from the resource manager .
handle
Handle
ownership
HandleOwnershipType
panics
See `check_handle_impl` for details.
See ` check_handle_impl ` for details .