about summary refs log tree commit diff
path: root/src/libstd/net/addr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/net/addr.rs')
-rw-r--r--src/libstd/net/addr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/net/addr.rs b/src/libstd/net/addr.rs
index e1d7a2531b6..1ca7e66ed9c 100644
--- a/src/libstd/net/addr.rs
+++ b/src/libstd/net/addr.rs
@@ -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