diff options
| author | kennytm <kennytm@gmail.com> | 2018-12-03 18:07:16 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-03 18:07:16 +0800 |
| commit | 52a4fc81300bef1d6c4a133a01aacfa91f736908 (patch) | |
| tree | 13acdd004111598f18c130aef319bc768d1e23ed /src/libstd/ffi | |
| parent | ca98bce303a2ed8f9b21eb6d2e602e76a7c00754 (diff) | |
| parent | 1e18cc916f653d5bea212bddded8960f548a975d (diff) | |
| download | rust-52a4fc81300bef1d6c4a133a01aacfa91f736908.tar.gz rust-52a4fc81300bef1d6c4a133a01aacfa91f736908.zip | |
Rollup merge of #56432 - ordovicia:shrink-to-issue, r=Centril
Update issue number of `shrink_to` methods to point the tracking issue Tracking issue: #56431
Diffstat (limited to 'src/libstd/ffi')
| -rw-r--r-- | src/libstd/ffi/os_str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/ffi/os_str.rs b/src/libstd/ffi/os_str.rs index 0edfd122cef..9c40a31986c 100644 --- a/src/libstd/ffi/os_str.rs +++ b/src/libstd/ffi/os_str.rs @@ -331,7 +331,7 @@ impl OsString { /// assert!(s.capacity() >= 3); /// ``` #[inline] - #[unstable(feature = "shrink_to", reason = "new API", issue="0")] + #[unstable(feature = "shrink_to", reason = "new API", issue="56431")] pub fn shrink_to(&mut self, min_capacity: usize) { self.inner.shrink_to(min_capacity) } |
