Bump shrink_to stabilization to Rust 1.56

This commit is contained in:
David Tolnay
2021-08-08 11:36:53 -07:00
parent 4867a21225
commit 8ec5060cdd
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -1110,7 +1110,7 @@ pub fn shrink_to_fit(&mut self) {
/// ```
#[cfg(not(no_global_oom_handling))]
#[inline]
#[stable(feature = "shrink_to", since = "1.55.0")]
#[stable(feature = "shrink_to", since = "1.56.0")]
pub fn shrink_to(&mut self, min_capacity: usize) {
self.vec.shrink_to(min_capacity)
}