diff --git a/src/lib.rs b/src/lib.rs index e7e8151..0086307 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -628,7 +628,8 @@ impl ArrayVec { } } - /// Dispose of `self` without the overwriting that is needed in Drop. + /// Dispose of `self` (same as drop) + #[deprecated="Use std::mem::drop instead, if at all needed."] pub fn dispose(mut self) { self.clear(); mem::forget(self);