Fix TcpStream::connect_timeout tracking issue number
This commit is contained in:
parent
14fb329e0a
commit
aea61e6005
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ impl TcpStream {
|
|||
/// connection request.
|
||||
///
|
||||
/// [`SocketAddr`]: ../../std/net/enum.SocketAddr.html
|
||||
#[unstable(feature = "tcpstream_connect_timeout", issue = "43709")]
|
||||
#[unstable(feature = "tcpstream_connect_timeout", issue = "43079")]
|
||||
pub fn connect_timeout(addr: &SocketAddr, timeout: Duration) -> io::Result<TcpStream> {
|
||||
net_imp::TcpStream::connect_timeout(addr, timeout).map(TcpStream)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue