mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 10:31:14 -03:00
Temporarily rename Rust-native IoStreams to make way
The next commit will use this name.
This commit is contained in:
@@ -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<Rc<JobGroup>>,
|
||||
}
|
||||
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user