Auto merge of #42848 - ids1024:redox-fix, r=sfackler
Fix Redox build, broken in ecbb896b9e
This commit is contained in:
commit
dc2003b7cc
2 changed files with 2 additions and 3 deletions
|
|
@ -17,7 +17,6 @@ use sys::fs::{File, OpenOptions};
|
|||
use sys::syscall::TimeSpec;
|
||||
use sys_common::{AsInner, FromInner, IntoInner};
|
||||
use time::Duration;
|
||||
use vec::Vec;
|
||||
|
||||
use super::{path_to_peer_addr, path_to_local_addr};
|
||||
|
||||
|
|
|
|||
|
|
@ -49,8 +49,8 @@ pub fn read2(p1: AnonPipe,
|
|||
//FIXME: Use event based I/O multiplexing
|
||||
//unimplemented!()
|
||||
|
||||
p1.read_to_end(v1)?;
|
||||
p2.read_to_end(v2)?;
|
||||
p1.0.read_to_end(v1)?;
|
||||
p2.0.read_to_end(v2)?;
|
||||
|
||||
Ok(())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue