diff options
| author | David Tolnay <dtolnay@gmail.com> | 2021-08-08 11:36:53 -0700 |
|---|---|---|
| committer | David Tolnay <dtolnay@gmail.com> | 2021-08-08 11:36:53 -0700 |
| commit | 8ec5060cdd16c772fa9474540ccda3f95996a653 (patch) | |
| tree | 4b19bff7f5cd1df38f591af01f3813bccce44dd4 /library/std/src/ffi | |
| parent | 4867a2122599ef376280622ad9dfa9d8e730041f (diff) | |
| download | rust-8ec5060cdd16c772fa9474540ccda3f95996a653.tar.gz rust-8ec5060cdd16c772fa9474540ccda3f95996a653.zip | |
Bump shrink_to stabilization to Rust 1.56
Diffstat (limited to 'library/std/src/ffi')
| -rw-r--r-- | library/std/src/ffi/os_str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/ffi/os_str.rs b/library/std/src/ffi/os_str.rs index 00fe055198d..46a1ff3f49e 100644 --- a/library/std/src/ffi/os_str.rs +++ b/library/std/src/ffi/os_str.rs @@ -332,7 +332,7 @@ impl OsString { /// assert!(s.capacity() >= 3); /// ``` #[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.inner.shrink_to(min_capacity) } |
