From aaa48e89a5e07e65110f90e54e9194c88a4cd972 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 8 Oct 2023 23:13:24 +0200 Subject: [PATCH] Temporarily rename Rust-native IoStreams to make way The next commit will use this name. --- fish-rust/src/io.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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,