diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-02-05 15:34:33 +0900 |
|---|---|---|
| committer | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-02-05 15:34:33 +0900 |
| commit | df7d9f383848dcb31a2f94bb1df5270ea21aff4b (patch) | |
| tree | 7130a15ad790eac7291c6919ece4762c4c3f6702 /src/libstd | |
| parent | 002287d25f6ef9718dbabd3e23c00b5ebcfb51c1 (diff) | |
| download | rust-df7d9f383848dcb31a2f94bb1df5270ea21aff4b.tar.gz rust-df7d9f383848dcb31a2f94bb1df5270ea21aff4b.zip | |
Fix issue number of `capacity` method
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/io/buffered.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/buffered.rs b/src/libstd/io/buffered.rs index 6739d4498a6..8862226adbb 100644 --- a/src/libstd/io/buffered.rs +++ b/src/libstd/io/buffered.rs @@ -198,7 +198,7 @@ impl<R> BufReader<R> { /// Ok(()) /// } /// ``` - #[unstable(feature = "buffered_io_capacity", issue = "68558")] + #[unstable(feature = "buffered_io_capacity", issue = "68833")] pub fn capacity(&self) -> usize { self.buf.len() } @@ -616,7 +616,7 @@ impl<W: Write> BufWriter<W> { /// // Calculate how many bytes can be written without flushing /// let without_flush = capacity - buf_writer.buffer().len(); /// ``` - #[unstable(feature = "buffered_io_capacity", issue = "68558")] + #[unstable(feature = "buffered_io_capacity", issue = "68833")] pub fn capacity(&self) -> usize { self.buf.capacity() } |
