Stabilize Vec<T>::shrink_to
This commit is contained in:
parent
9a27044f42
commit
4867a21225
9 changed files with 8 additions and 16 deletions
|
@ -1398,7 +1398,7 @@ impl PathBuf {
|
|||
/// Invokes [`shrink_to`] on the underlying instance of [`OsString`].
|
||||
///
|
||||
/// [`shrink_to`]: OsString::shrink_to
|
||||
#[unstable(feature = "shrink_to", issue = "56431")]
|
||||
#[stable(feature = "shrink_to", since = "1.55.0")]
|
||||
#[inline]
|
||||
pub fn shrink_to(&mut self, min_capacity: usize) {
|
||||
self.inner.shrink_to(min_capacity)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue