We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f85579d commit 0d617ceCopy full SHA for 0d617ce
src/libstd/sys/redox/net/tcp.rs
@@ -32,7 +32,7 @@ impl TcpStream {
32
Ok(TcpStream(File::open(&Path::new(path.as_str()), &options)?))
33
}
34
35
- pub fn connect_timeout(_addr: &SocketAddr, _timeout: Duration) -> Result<()> {
+ pub fn connect_timeout(_addr: &SocketAddr, _timeout: Duration) -> Result<TcpStream> {
36
Err(Error::new(ErrorKind::Other, "TcpStream::connect_timeout not implemented"))
37
38
0 commit comments