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> {
449449#[ stable( feature = "rust1" , since = "1.0.0" ) ]
450450pub struct BufWriter < W : Write > {
451451 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)
458452 buf : Vec < u8 > ,
459453 // #30888: If the inner writer panics in a call to write, we don't want to
460454 // write the buffered data a second time in BufWriter's destructor. This
You can’t perform that action at this time.
0 commit comments