mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Rollup merge of #46141 - aqrln:tosocketaddrs-doc-fix-typo, r=frewsxcv
Fix a typo in ToSocketAddrs documentation Fix a typo in `ToSocketAddrs` documentation: s/ToSocketsAddr/ToSocketAddrs
This commit is contained in:
commit
5b54193ab2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user