Rollup merge of #46141 - aqrln:tosocketaddrs-doc-fix-typo, r=frewsxcv

Fix a typo in ToSocketAddrs documentation

Fix a typo in `ToSocketAddrs` documentation: s/ToSocketsAddr/ToSocketAddrs
This commit is contained in:
kennytm 2017-11-22 01:13:03 +08:00 committed by GitHub
commit 5b54193ab2

View File

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