about summary refs log tree commit diff
path: root/library/std/src/sys/sgx/stdio.rs
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-05-27 14:03:35 +0200
committerMara Bos <m-ou.se@m-ou.se>2021-06-15 14:22:49 +0200
commit0b37bb2bc25be8059e88a4139d9ab067d9600610 (patch)
tree94b924be8089b0c64707513a239c662e99739c04 /library/std/src/sys/sgx/stdio.rs
parentcdbe2888979bb8797b05f0d58a6f6e60753983d2 (diff)
downloadrust-0b37bb2bc25be8059e88a4139d9ab067d9600610.tar.gz
rust-0b37bb2bc25be8059e88a4139d9ab067d9600610.zip
Redefine `ErrorKind::Other` and stop using it in std.
Diffstat (limited to 'library/std/src/sys/sgx/stdio.rs')
-rw-r--r--library/std/src/sys/sgx/stdio.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/sgx/stdio.rs b/library/std/src/sys/sgx/stdio.rs
index 548e28a43d6..f9e3d83be43 100644
--- a/library/std/src/sys/sgx/stdio.rs
+++ b/library/std/src/sys/sgx/stdio.rs
@@ -65,7 +65,7 @@ impl io::Write for Stderr {
 pub const STDIN_BUF_SIZE: usize = crate::sys_common::io::DEFAULT_BUF_SIZE;
 
 pub fn is_ebadf(err: &io::Error) -> bool {
-    // FIXME: Rust normally maps Unix EBADF to `Other`
+    // FIXME: Rust normally maps Unix EBADF to `Unknown`
     err.raw_os_error() == Some(abi::Error::BrokenPipe as _)
 }