Function core::mem::copy_mut_lifetime [] [src]

pub unsafe fn copy_mut_lifetime<'a, S: ?Sized, T: ?Sized + 'a>(_ptr: &'a S, ptr: &mut T) -> &'a mut T
Deprecated since 1.2.0

: unclear that this function buys more safety and lifetimes are generally not handled as such in unsafe code today

Transforms lifetime of the second mutable pointer to match the first.