diff --git a/fish-rust/src/io.rs b/fish-rust/src/io.rs index db0ac401e..1dbdf92b3 100644 --- a/fish-rust/src/io.rs +++ b/fish-rust/src/io.rs @@ -916,7 +916,7 @@ fn flush_and_check_error(&mut self) -> libc::c_int { } } -pub struct IoStreams<'a> { +pub struct NativeIoStreams<'a> { // Streams for out and err. pub out: &'a mut OutputStream, pub err: &'a mut OutputStream, @@ -949,9 +949,9 @@ pub struct IoStreams<'a> { job_group: Option>, } -impl<'a> IoStreams<'a> { +impl<'a> NativeIoStreams<'a> { pub fn new(out: &'a mut OutputStream, err: &'a mut OutputStream) -> Self { - IoStreams { + NativeIoStreams { out, err, stdin_fd: -1,