diff --git a/src/lib.rs b/src/lib.rs index 463917c..bb19bd2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -86,7 +86,7 @@ mod tinyvec; #[cfg(feature = "alloc")] pub use crate::tinyvec::*; -// Replace with mem::take as soon as MSRV allows it +// TODO MSRV(1.40.0): Just call the normal `core::mem::take` fn take(from: &mut T) -> T { replace(from, T::default()) }