Fix a typo in ToSocketAddrs documentation
Fix a typo in ToSocketAddrs documentation: s/ToSocketsAddr/ToSocketAddrs
This commit is contained in:
parent
33374fa9d0
commit
0789a1df65
@ -759,7 +759,7 @@ impl hash::Hash for SocketAddrV6 {
|
|||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// [`TcpStream::connect`] is an example of an function that utilizes
|
/// [`TcpStream::connect`] is an example of an function that utilizes
|
||||||
/// `ToSocketsAddr` as a trait bound on its parameter in order to accept
|
/// `ToSocketAddrs` as a trait bound on its parameter in order to accept
|
||||||
/// different types:
|
/// different types:
|
||||||
///
|
///
|
||||||
/// ```no_run
|
/// ```no_run
|
||||||
|
Loading…
x
Reference in New Issue
Block a user