Skip to content

Commit 7af0cb8

Browse files
committed
Fixed tidy errors
1 parent 7d379fa commit 7af0cb8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/libstd/io/net/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fn from_rtio(ip: rtio::IpAddr) -> IpAddr {
4343
}
4444

4545
fn with_addresses_io<A: ToSocketAddr, T>(
46-
addr: A,
46+
addr: A,
4747
action: |&mut rtio::IoFactory, rtio::SocketAddr| -> Result<T, rtio::IoError>
4848
) -> Result<T, IoError> {
4949
const DEFAULT_ERROR: IoError = IoError {

src/libstd/io/net/tcp.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,8 @@ pub struct TcpListener {
313313
}
314314

315315
impl TcpListener {
316-
/// Creates a new `TcpListener` which will be bound to the specified address.
317-
/// This listener is not ready for accepting connections, `listen` must be called
316+
/// Creates a new `TcpListener` which will be bound to the specified address.
317+
/// This listener is not ready for accepting connections, `listen` must be called
318318
/// on it before that's possible.
319319
///
320320
/// Binding with a port number of 0 will request that the OS assigns a port

0 commit comments

Comments
 (0)