]> git.lizzy.rs Git - rust.git/commitdiff
Fixed tidy errors
authorVladimir Matveev <vladimir.matweev@gmail.com>
Fri, 31 Oct 2014 08:09:09 +0000 (11:09 +0300)
committerVladimir Matveev <vladimir.matweev@gmail.com>
Wed, 5 Nov 2014 09:01:24 +0000 (12:01 +0300)
src/libstd/io/net/mod.rs
src/libstd/io/net/tcp.rs

index 61cefa6f2082123b7e40a71fcb69fc270af021b6..b9b50a55a10f25e160828c88eadbf57b42df3270 100644 (file)
@@ -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 {
index 6464a180b68fb0529c2b1ae57d0c3ac331e4b750..6fb31d52dabeb4cb603db0a8138a97334432ccd1 100644 (file)
@@ -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