From 713fa03339f6e0ba22a1169892eca62e812b2efc Mon Sep 17 00:00:00 2001 From: Lokathor Date: Sun, 19 Jan 2020 13:21:25 -0700 Subject: [PATCH] improve the note --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) }