Function std::mem::copy_lifetime [] [src]

pub unsafe fn copy_lifetime<'a, S, T>(_ptr: &'a S, ptr: &T) -> &'a T where S: ?Sized, T: 'a + ?Sized
Unstable

: this function may be removed in the future due to its questionable utility

Transforms lifetime of the second pointer to match the first.