[go: up one dir, main page]

standback 0.4.1

New standard library, old compiler.
Documentation
1
2
3
4
5
pub(crate) mod mem {
    pub fn take<T: Default>(dest: &mut T) -> T {
        core::mem::replace(dest, T::default())
    }
}