diff options
| author | Vladimir Matveev <vladimir.matweev@gmail.com> | 2014-10-31 11:09:09 +0300 |
|---|---|---|
| committer | Vladimir Matveev <vladimir.matweev@gmail.com> | 2014-11-05 12:01:24 +0300 |
| commit | 7af0cb8af79ea6abd683c61d77e41b14a1242d23 (patch) | |
| tree | d07e54e4b0989691aa8a07dced1b0441b4d274fb /src/libstd/io | |
| parent | 7d379fa78f78a3b88245d73a6d9aa1d2725c304c (diff) | |
| download | rust-7af0cb8af79ea6abd683c61d77e41b14a1242d23.tar.gz rust-7af0cb8af79ea6abd683c61d77e41b14a1242d23.zip | |
Fixed tidy errors
Diffstat (limited to 'src/libstd/io')
| -rw-r--r-- | src/libstd/io/net/mod.rs | 2 | ||||
| -rw-r--r-- | src/libstd/io/net/tcp.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/io/net/mod.rs b/src/libstd/io/net/mod.rs index 61cefa6f208..b9b50a55a10 100644 --- a/src/libstd/io/net/mod.rs +++ b/src/libstd/io/net/mod.rs @@ -43,7 +43,7 @@ fn from_rtio(ip: rtio::IpAddr) -> IpAddr { } fn with_addresses_io<A: ToSocketAddr, T>( - addr: A, + addr: A, action: |&mut rtio::IoFactory, rtio::SocketAddr| -> Result<T, rtio::IoError> ) -> Result<T, IoError> { const DEFAULT_ERROR: IoError = IoError { diff --git a/src/libstd/io/net/tcp.rs b/src/libstd/io/net/tcp.rs index 6464a180b68..6fb31d52dab 100644 --- a/src/libstd/io/net/tcp.rs +++ b/src/libstd/io/net/tcp.rs @@ -313,8 +313,8 @@ pub struct TcpListener { } impl TcpListener { - /// Creates a new `TcpListener` which will be bound to the specified address. - /// This listener is not ready for accepting connections, `listen` must be called + /// Creates a new `TcpListener` which will be bound to the specified address. + /// This listener is not ready for accepting connections, `listen` must be called /// on it before that's possible. /// /// Binding with a port number of 0 will request that the OS assigns a port |
