about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-11-01 14:12:27 +0530
committerGitHub <noreply@github.com>2022-11-01 14:12:27 +0530
commit5d30bfc43124e9c907851a5f36ab4afd48b3578d (patch)
tree2ea0e17fd499adaa1c6d2e150edfeb0bf35baad8 /library/std/src
parent09f4f7c8f0b0e11c7bdf35e73bb22f90e58b1ca4 (diff)
parent7fe1622b710dc8f32c151d867711e926b0c9db5a (diff)
downloadrust-5d30bfc43124e9c907851a5f36ab4afd48b3578d.tar.gz
rust-5d30bfc43124e9c907851a5f36ab4afd48b3578d.zip
Rollup merge of #103809 - tyggja:patch-1, r=JohnTitor
Fix a typo in std::net mod doc comment

net-doc syntax
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/net/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/net/mod.rs b/library/std/src/net/mod.rs
index 01e3db9de51..19d90e7ec38 100644
--- a/library/std/src/net/mod.rs
+++ b/library/std/src/net/mod.rs
@@ -11,7 +11,7 @@
 //!   [`Ipv6Addr`] are respectively IPv4 and IPv6 addresses
 //! * [`SocketAddr`] represents socket addresses of either IPv4 or IPv6; [`SocketAddrV4`]
 //!   and [`SocketAddrV6`] are respectively IPv4 and IPv6 socket addresses
-//! * [`ToSocketAddrs`] is a trait that used for generic address resolution when interacting
+//! * [`ToSocketAddrs`] is a trait that is used for generic address resolution when interacting
 //!   with networking objects like [`TcpListener`], [`TcpStream`] or [`UdpSocket`]
 //! * Other types are return or parameter types for various methods in this module
 //!