Skip to content

Commit e3dfb2c

Browse files
committed
Auto merge of #30052 - Ryman:bind_docs, r=apasel422
`socket_addr` was renamed to `local_addr` in 1.0beta. See: f798674 r? @steveklabnik
2 parents edf2198 + add5054 commit e3dfb2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/net/tcp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ impl TcpListener {
234234
///
235235
/// Binding with a port number of 0 will request that the OS assigns a port
236236
/// to this listener. The port allocated can be queried via the
237-
/// `socket_addr` function.
237+
/// `local_addr` method.
238238
///
239239
/// The address type can be any implementor of `ToSocketAddrs` trait. See
240240
/// its documentation for concrete examples.

0 commit comments

Comments
 (0)