Auto merge of #30052 - Ryman:bind_docs, r=apasel422

`socket_addr` was renamed to `local_addr` in 1.0beta.

See: f798674b86

r? @steveklabnik
This commit is contained in:
bors 2015-11-25 13:18:16 +00:00
commit e3dfb2c45f

View File

@ -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.