From 8252353916998ef43596ad62b27dd396afdd5de0 Mon Sep 17 00:00:00 2001 From: Tom Lee Date: Sat, 10 May 2014 21:30:57 -0700 Subject: [PATCH] Document a possible way in which connect_timout may change in the future --- src/libstd/io/net/tcp.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libstd/io/net/tcp.rs b/src/libstd/io/net/tcp.rs index 42db3939e7d1..0639611cc246 100644 --- a/src/libstd/io/net/tcp.rs +++ b/src/libstd/io/net/tcp.rs @@ -95,6 +95,9 @@ impl TcpStream { /// This is the same as the `connect` method, except that if the timeout /// specified (in milliseconds) elapses before a connection is made an error /// will be returned. The error's kind will be `TimedOut`. + /// + /// Note that the `addr` argument may one day be split into a separate host + /// and port, similar to the API seen in `connect`. #[experimental = "the timeout argument may eventually change types"] pub fn connect_timeout(addr: SocketAddr, timeout_ms: u64) -> IoResult {