We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents edf2198 + add5054 commit e3dfb2cCopy full SHA for e3dfb2c
src/libstd/net/tcp.rs
@@ -234,7 +234,7 @@ impl TcpListener {
234
///
235
/// Binding with a port number of 0 will request that the OS assigns a port
236
/// to this listener. The port allocated can be queried via the
237
- /// `socket_addr` function.
+ /// `local_addr` method.
238
239
/// The address type can be any implementor of `ToSocketAddrs` trait. See
240
/// its documentation for concrete examples.
0 commit comments