We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dc987ad + e364584 commit 5ca68d4Copy full SHA for 5ca68d4
src/libstd/io/mod.rs
@@ -1293,10 +1293,10 @@ impl<'a> Writer for Box<Writer+'a> {
1293
1294
impl<'a> Writer for &'a mut Writer+'a {
1295
#[inline]
1296
- fn write(&mut self, buf: &[u8]) -> IoResult<()> { self.write(buf) }
+ fn write(&mut self, buf: &[u8]) -> IoResult<()> { (**self).write(buf) }
1297
1298
1299
- fn flush(&mut self) -> IoResult<()> { self.flush() }
+ fn flush(&mut self) -> IoResult<()> { (**self).flush() }
1300
}
1301
1302
/// A `RefWriter` is a struct implementing `Writer` which contains a reference
0 commit comments