Skip to content

Commit

Permalink
Fixed tidy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
netvl committed Nov 5, 2014
1 parent 7d379fa commit 7af0cb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/libstd/io/net/mod.rs
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions src/libstd/io/net/tcp.rs
Expand Up @@ -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
Expand Down

0 comments on commit 7af0cb8

Please sign in to comment.