Fix a typo in ToSocketAddrs documentation

Fix a typo in ToSocketAddrs documentation: s/ToSocketsAddr/ToSocketAddrs
上级 33374fa9
......@@ -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.
先完成此消息的编辑!
想要评论请 注册