@@ -313,15 +313,15 @@ impl<W: Write> BufWriter<W> {
313
313
/// assert_eq!(recovered_writer.len(), 0);
314
314
/// assert_eq!(&buffered_data.unwrap(), b"ata");
315
315
/// ```
316
- #[unstable(feature = "bufwriter_into_raw_parts", issue = "none ")]
316
+ #[unstable(feature = "bufwriter_into_raw_parts", issue = "80690 ")]
317
317
pub fn into_raw_parts(mut self) -> (W, Result<Vec<u8>, WriterPanicked>) {
318
318
let buf = mem::take(&mut self.buf);
319
319
let buf = if !self.panicked { Ok(buf) } else { Err(WriterPanicked { buf }) };
320
320
(self.inner.take().unwrap(), buf)
321
321
}
322
322
}
323
323
324
- #[unstable(feature = "bufwriter_into_raw_parts", issue = "none ")]
324
+ #[unstable(feature = "bufwriter_into_raw_parts", issue = "80690 ")]
325
325
/// Error returned for the buffered data from `BufWriter::into_raw_parts`, when the underlying
326
326
/// writer has previously panicked. Contains the (possibly partly written) buffered data.
327
327
///
@@ -355,7 +355,7 @@ pub struct WriterPanicked {
355
355
impl WriterPanicked {
356
356
/// Returns the perhaps-unwritten data. Some of this data may have been written by the
357
357
/// panicking call(s) to the underlying writer, so simply writing it again is not a good idea.
358
- #[unstable(feature = "bufwriter_into_raw_parts", issue = "none ")]
358
+ #[unstable(feature = "bufwriter_into_raw_parts", issue = "80690 ")]
359
359
pub fn into_inner(self) -> Vec<u8> {
360
360
self.buf
361
361
}
@@ -364,22 +364,22 @@ impl WriterPanicked {
364
364
"BufWriter inner writer panicked, what data remains unwritten is not known";
365
365
}
366
366
367
- #[unstable(feature = "bufwriter_into_raw_parts", issue = "none ")]
367
+ #[unstable(feature = "bufwriter_into_raw_parts", issue = "80690 ")]
368
368
impl error::Error for WriterPanicked {
369
369
#[allow(deprecated, deprecated_in_future)]
370
370
fn description(&self) -> &str {
371
371
Self::DESCRIPTION
372
372
}
373
373
}
374
374
375
- #[unstable(feature = "bufwriter_into_raw_parts", issue = "none ")]
375
+ #[unstable(feature = "bufwriter_into_raw_parts", issue = "80690 ")]
376
376
impl fmt::Display for WriterPanicked {
377
377
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
378
378
write!(f, "{}", Self::DESCRIPTION)
379
379
}
380
380
}
381
381
382
- #[unstable(feature = "bufwriter_into_raw_parts", issue = "none ")]
382
+ #[unstable(feature = "bufwriter_into_raw_parts", issue = "80690 ")]
383
383
impl fmt::Debug for WriterPanicked {
384
384
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
385
385
f.debug_struct("WriterPanicked")
0 commit comments