]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/sys/sgx/stdio.rs
Rename ErrorKind::Unknown to Uncategorized.
[rust.git] / library / std / src / sys / sgx / stdio.rs
index 548e28a43d646281c0b2ef65742cedc17d2b0980..8ccf043b5b57f00cbb64df58a6ac85833e5e2230 100644 (file)
@@ -65,7 +65,7 @@ fn flush(&mut self) -> io::Result<()> {
 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 `Uncategorized`
     err.raw_os_error() == Some(abi::Error::BrokenPipe as _)
 }