about summary refs log tree commit diff
path: root/src/libstd/rt/io/buffered.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-10-30 15:10:32 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-10-30 15:17:11 -0700
commit452e5cdf11b30e17c69805a0bfc418feebb84081 (patch)
tree5bed2b6e32c6647e7ec45f05768c69e564e9a716 /src/libstd/rt/io/buffered.rs
parent6789a77fa02b5f7c3f9ca0261a5387a951d23caf (diff)
downloadrust-452e5cdf11b30e17c69805a0bfc418feebb84081.tar.gz
rust-452e5cdf11b30e17c69805a0bfc418feebb84081.zip
Make Writer::flush a no-op default method
Closes #9126
Diffstat (limited to 'src/libstd/rt/io/buffered.rs')
-rw-r--r--src/libstd/rt/io/buffered.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstd/rt/io/buffered.rs b/src/libstd/rt/io/buffered.rs
index 47c8dbd35c6..fc6d43f551a 100644
--- a/src/libstd/rt/io/buffered.rs
+++ b/src/libstd/rt/io/buffered.rs
@@ -418,7 +418,6 @@ mod test {
 
         impl rt::io::Writer for S {
             fn write(&mut self, _: &[u8]) {}
-            fn flush(&mut self) {}
         }
 
         impl rt::io::Reader for S {