Skip to content

Commit 0d617ce

Browse files
authored
Update tcp.rs
1 parent f85579d commit 0d617ce

File tree

1 file changed

+1
-1
lines changed
  • src/libstd/sys/redox/net

1 file changed

+1
-1
lines changed

src/libstd/sys/redox/net/tcp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ impl TcpStream {
3232
Ok(TcpStream(File::open(&Path::new(path.as_str()), &options)?))
3333
}
3434

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

0 commit comments

Comments
 (0)