about summary refs log tree commit diff
path: root/src/libstd/sys/redox/stdio.rs
diff options
context:
space:
mode:
authorPaul Dicker <pitdicker@gmail.com>2019-02-23 12:11:10 +0100
committerPaul Dicker <pitdicker@gmail.com>2019-02-23 12:11:10 +0100
commit1a944b0d5bbc1b70423f6d710021bea5ba16f0b2 (patch)
tree0c5c07548bee7c44891587afd868831163e3dec4 /src/libstd/sys/redox/stdio.rs
parent6464e32ea97fe0b18f75becc82cba9b19dfe453c (diff)
downloadrust-1a944b0d5bbc1b70423f6d710021bea5ba16f0b2.tar.gz
rust-1a944b0d5bbc1b70423f6d710021bea5ba16f0b2.zip
Remove pub(crate) from stderr_raw
Diffstat (limited to 'src/libstd/sys/redox/stdio.rs')
-rw-r--r--src/libstd/sys/redox/stdio.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/redox/stdio.rs b/src/libstd/sys/redox/stdio.rs
index b4eb01fd6cc..8571b38cefa 100644
--- a/src/libstd/sys/redox/stdio.rs
+++ b/src/libstd/sys/redox/stdio.rs
@@ -60,5 +60,5 @@ pub fn is_ebadf(err: &io::Error) -> bool {
 pub const STDIN_BUF_SIZE: usize = ::sys_common::io::DEFAULT_BUF_SIZE;
 
 pub fn panic_output() -> Option<impl io::Write> {
-    io::stderr_raw().ok()
+    Stderr::new().ok()
 }