Fix a typo in ToSocketAddrs documentation

Fix a typo in ToSocketAddrs documentation: s/ToSocketsAddr/ToSocketAddrs
This commit is contained in:
Alexey Orlenko 2017-11-21 01:53:36 +02:00
parent 33374fa9d0
commit 0789a1df65
No known key found for this signature in database
GPG Key ID: 81255941FDDB24ED

View File

@ -759,7 +759,7 @@ impl hash::Hash for SocketAddrV6 {
/// ```
///
/// [`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:
///
/// ```no_run