Skip to content

Commit

Permalink
Update tcp.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 authored Jul 13, 2017
1 parent f85579d commit 0d617ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/redox/net/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl TcpStream {
Ok(TcpStream(File::open(&Path::new(path.as_str()), &options)?))
}

pub fn connect_timeout(_addr: &SocketAddr, _timeout: Duration) -> Result<()> {
pub fn connect_timeout(_addr: &SocketAddr, _timeout: Duration) -> Result<TcpStream> {
Err(Error::new(ErrorKind::Other, "TcpStream::connect_timeout not implemented"))
}

Expand Down

0 comments on commit 0d617ce

Please sign in to comment.