Skip to content

Commit

Permalink
Auto merge of #30052 - Ryman:bind_docs, r=apasel422
Browse files Browse the repository at this point in the history
`socket_addr` was renamed to `local_addr` in 1.0beta.

See: f798674

r? @steveklabnik
  • Loading branch information
bors committed Nov 25, 2015
2 parents edf2198 + add5054 commit e3dfb2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/net/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ impl TcpListener {
///
/// Binding with a port number of 0 will request that the OS assigns a port
/// to this listener. The port allocated can be queried via the
/// `socket_addr` function.
/// `local_addr` method.
///
/// The address type can be any implementor of `ToSocketAddrs` trait. See
/// its documentation for concrete examples.
Expand Down

0 comments on commit e3dfb2c

Please sign in to comment.