diff options
| author | Taiki Endo <te316e89@gmail.com> | 2019-02-11 04:23:21 +0900 |
|---|---|---|
| committer | Taiki Endo <te316e89@gmail.com> | 2019-02-28 04:06:15 +0900 |
| commit | 93b6d9e086c6910118a57e4332c9448ab550931f (patch) | |
| tree | 26b124bf1caa9fb65c7af0c2d115e9317572c37f /src/libstd/sys/redox/stdio.rs | |
| parent | 7e001e5c6c7c090b41416a57d4be412ed3ccd937 (diff) | |
| download | rust-93b6d9e086c6910118a57e4332c9448ab550931f.tar.gz rust-93b6d9e086c6910118a57e4332c9448ab550931f.zip | |
libstd => 2018
Diffstat (limited to 'src/libstd/sys/redox/stdio.rs')
| -rw-r--r-- | src/libstd/sys/redox/stdio.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libstd/sys/redox/stdio.rs b/src/libstd/sys/redox/stdio.rs index 8571b38cefa..33f5bdbb5d3 100644 --- a/src/libstd/sys/redox/stdio.rs +++ b/src/libstd/sys/redox/stdio.rs @@ -1,6 +1,6 @@ -use io; -use sys::{cvt, syscall}; -use sys::fd::FileDesc; +use crate::io; +use crate::sys::{cvt, syscall}; +use crate::sys::fd::FileDesc; pub struct Stdin(()); pub struct Stdout(()); @@ -54,10 +54,10 @@ impl io::Write for Stderr { } pub fn is_ebadf(err: &io::Error) -> bool { - err.raw_os_error() == Some(::sys::syscall::EBADF as i32) + err.raw_os_error() == Some(crate::sys::syscall::EBADF as i32) } -pub const STDIN_BUF_SIZE: usize = ::sys_common::io::DEFAULT_BUF_SIZE; +pub const STDIN_BUF_SIZE: usize = crate::sys_common::io::DEFAULT_BUF_SIZE; pub fn panic_output() -> Option<impl io::Write> { Stderr::new().ok() |
