From d4dff03e7c6decd6b545dcb290d2c592969b3d81 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Sun, 8 Apr 2018 09:03:33 +0200 Subject: Remove inline on Vec::shrink_to_fit as asked by Alex --- src/liballoc/vec.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/liballoc/vec.rs') diff --git a/src/liballoc/vec.rs b/src/liballoc/vec.rs index e3c036e6aac..3fff28469fe 100644 --- a/src/liballoc/vec.rs +++ b/src/liballoc/vec.rs @@ -582,7 +582,6 @@ impl Vec { /// assert!(vec.capacity() >= 3); /// ``` #[stable(feature = "rust1", since = "1.0.0")] - #[inline] pub fn shrink_to_fit(&mut self) { if self.capacity() != self.len { self.buf.shrink_to_fit(self.len); -- cgit 1.4.1-3-g733a5