about summary refs log tree commit diff
path: root/src/libstd/sys/sgx
diff options
context:
space:
mode:
authorPaul Dicker <pitdicker@gmail.com>2019-02-11 16:51:32 +0100
committerPaul Dicker <pitdicker@gmail.com>2019-02-20 06:37:30 +0100
commit06511573f236a07b8ecd7c3e3d5fef1d53e59352 (patch)
treee4139c6119839145ee9380c34de3c5736e6bf1dc /src/libstd/sys/sgx
parent74e35d270067afff72034312065c48e6d8cfba67 (diff)
downloadrust-06511573f236a07b8ecd7c3e3d5fef1d53e59352.tar.gz
rust-06511573f236a07b8ecd7c3e3d5fef1d53e59352.zip
Remove sys::*::Stderr Write implementation
Diffstat (limited to 'src/libstd/sys/sgx')
-rw-r--r--src/libstd/sys/sgx/stdio.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/libstd/sys/sgx/stdio.rs b/src/libstd/sys/sgx/stdio.rs
index 6f206cd9a51..c8efb931d6f 100644
--- a/src/libstd/sys/sgx/stdio.rs
+++ b/src/libstd/sys/sgx/stdio.rs
@@ -46,19 +46,6 @@ impl Stderr {
     }
 }
 
-// FIXME: right now this raw stderr handle is used in a few places because
-//        std::io::stderr_raw isn't exposed, but once that's exposed this impl
-//        should go away
-impl io::Write for Stderr {
-    fn write(&mut self, data: &[u8]) -> io::Result<usize> {
-        Stderr::write(self, data)
-    }
-
-    fn flush(&mut self) -> io::Result<()> {
-        Stderr::flush(self)
-    }
-}
-
 pub const STDIN_BUF_SIZE: usize = ::sys_common::io::DEFAULT_BUF_SIZE;
 
 pub fn is_ebadf(err: &io::Error) -> bool {