Skip to content

Commit 0789a1d

Browse files
committed
Fix a typo in ToSocketAddrs documentation
Fix a typo in ToSocketAddrs documentation: s/ToSocketsAddr/ToSocketAddrs
1 parent 33374fa commit 0789a1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/net/addr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ impl hash::Hash for SocketAddrV6 {
759759
/// ```
760760
///
761761
/// [`TcpStream::connect`] is an example of an function that utilizes
762-
/// `ToSocketsAddr` as a trait bound on its parameter in order to accept
762+
/// `ToSocketAddrs` as a trait bound on its parameter in order to accept
763763
/// different types:
764764
///
765765
/// ```no_run

0 commit comments

Comments
 (0)