Skip to content

Commit df7d9f3

Browse files
committed
Fix issue number of capacity method
1 parent 002287d commit df7d9f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/io/buffered.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ impl<R> BufReader<R> {
198198
/// Ok(())
199199
/// }
200200
/// ```
201-
#[unstable(feature = "buffered_io_capacity", issue = "68558")]
201+
#[unstable(feature = "buffered_io_capacity", issue = "68833")]
202202
pub fn capacity(&self) -> usize {
203203
self.buf.len()
204204
}
@@ -616,7 +616,7 @@ impl<W: Write> BufWriter<W> {
616616
/// // Calculate how many bytes can be written without flushing
617617
/// let without_flush = capacity - buf_writer.buffer().len();
618618
/// ```
619-
#[unstable(feature = "buffered_io_capacity", issue = "68558")]
619+
#[unstable(feature = "buffered_io_capacity", issue = "68833")]
620620
pub fn capacity(&self) -> usize {
621621
self.buf.capacity()
622622
}

0 commit comments

Comments
 (0)