提交 5b54193a 编写于 作者: K kennytm 提交者: GitHub

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
......@@ -759,7 +759,7 @@ fn hash<H: hash::Hasher>(&self, s: &mut H) {
/// ```
///
/// [`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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册