Skip to content

Commit 5d30bfc

Browse files
authored
Rollup merge of #103809 - tyggja:patch-1, r=JohnTitor
Fix a typo in std::net mod doc comment net-doc syntax
2 parents 09f4f7c + 7fe1622 commit 5d30bfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/net/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//! [`Ipv6Addr`] are respectively IPv4 and IPv6 addresses
1212
//! * [`SocketAddr`] represents socket addresses of either IPv4 or IPv6; [`SocketAddrV4`]
1313
//! and [`SocketAddrV6`] are respectively IPv4 and IPv6 socket addresses
14-
//! * [`ToSocketAddrs`] is a trait that used for generic address resolution when interacting
14+
//! * [`ToSocketAddrs`] is a trait that is used for generic address resolution when interacting
1515
//! with networking objects like [`TcpListener`], [`TcpStream`] or [`UdpSocket`]
1616
//! * Other types are return or parameter types for various methods in this module
1717
//!

0 commit comments

Comments
 (0)