File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -449,12 +449,6 @@ impl<R: Seek> Seek for BufReader<R> {
449
449
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
450
450
pub struct BufWriter < W : Write > {
451
451
inner : Option < W > ,
452
- // FIXME: Replace this with a VecDeque. Because VecDeque is a Ring buffer,
453
- // this would enable BufWriter to operate without any interior copies.
454
- // It was also allow a much simpler implementation of flush_buf. The main
455
- // blocker here is that VecDeque doesn't currently have the same
456
- // slice-specific specializations (extend_from_slice, `Extend`
457
- // specializations)
458
452
buf : Vec < u8 > ,
459
453
// #30888: If the inner writer panics in a call to write, we don't want to
460
454
// write the buffered data a second time in BufWriter's destructor. This
You can’t perform that action at this time.
0 commit comments