Skip to content

Commit

Permalink
Rollup merge of rust-lang#46141 - aqrln:tosocketaddrs-doc-fix-typo, r…
Browse files Browse the repository at this point in the history
…=frewsxcv

Fix a typo in ToSocketAddrs documentation

Fix a typo in `ToSocketAddrs` documentation: s/ToSocketsAddr/ToSocketAddrs
  • Loading branch information
kennytm authored Nov 21, 2017
2 parents 3bf1328 + 0789a1d commit 5b54193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/net/addr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b54193

Please sign in to comment.