diff options
| author | Anthony Ramine <n.oxyde@gmail.com> | 2018-04-08 09:03:33 +0200 |
|---|---|---|
| committer | Anthony Ramine <n.oxyde@gmail.com> | 2018-04-08 09:03:33 +0200 |
| commit | d4dff03e7c6decd6b545dcb290d2c592969b3d81 (patch) | |
| tree | 0e7562152354e6107198ed4b073b4a9f74d1c813 /src/liballoc/vec.rs | |
| parent | 360f2f036d14889f4de37a8b4b6aad0d09772aad (diff) | |
| download | rust-d4dff03e7c6decd6b545dcb290d2c592969b3d81.tar.gz rust-d4dff03e7c6decd6b545dcb290d2c592969b3d81.zip | |
Remove inline on Vec::shrink_to_fit as asked by Alex
Diffstat (limited to 'src/liballoc/vec.rs')
| -rw-r--r-- | src/liballoc/vec.rs | 1 |
1 files changed, 0 insertions, 1 deletions
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<T> Vec<T> { /// 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); |
