diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-10-30 15:10:32 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-10-30 15:17:11 -0700 |
| commit | 452e5cdf11b30e17c69805a0bfc418feebb84081 (patch) | |
| tree | 5bed2b6e32c6647e7ec45f05768c69e564e9a716 /src/libstd/rt/io/native | |
| parent | 6789a77fa02b5f7c3f9ca0261a5387a951d23caf (diff) | |
Make Writer::flush a no-op default method
Closes #9126
Diffstat (limited to 'src/libstd/rt/io/native')
| -rw-r--r-- | src/libstd/rt/io/native/file.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstd/rt/io/native/file.rs b/src/libstd/rt/io/native/file.rs index ba819df071a..9f9e7dcee9f 100644 --- a/src/libstd/rt/io/native/file.rs +++ b/src/libstd/rt/io/native/file.rs @@ -132,8 +132,6 @@ impl Writer for FileDesc { raise_error(); } } - - fn flush(&mut self) {} } impl Drop for FileDesc { |
