diff --git a/src/lib.rs b/src/lib.rs index 12888a8..97eab32 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -88,6 +88,7 @@ mod tinyvec; pub use crate::tinyvec::*; // TODO MSRV(1.40.0): Just call the normal `core::mem::take` +#[inline(always)] fn take(from: &mut T) -> T { replace(from, T::default()) }