]> git.lizzy.rs Git - rust.git/commit
Addressed requested changes for PR #40838
authorlukaramu <lukaramu@gmail.com>
Mon, 27 Mar 2017 14:38:17 +0000 (16:38 +0200)
committerlukaramu <lukaramu@gmail.com>
Mon, 27 Mar 2017 14:38:17 +0000 (16:38 +0200)
commitb8cbc5d46af4b15bfeca324aa37d8c2ca054e58e
tree14caf1e7736195735b9b6d82f0c04e62e4fab515
parentc2601fd358769cbecae479e8d32521f6e5d5c633
Addressed requested changes for PR #40838

* Fixed spelling ToSocketAddr -> ToSocketAddrs in module docs
  (which also fixes a link)
* Added missing "when" before "interacting" in module docs
* Changed SocketAddr's top-level docs to explicitly state what socket
  addresses consist of, making them more consistent with SocketAddrV4's
  and SocketAddrV6's docs
* Changed "in C" -> "in C's `netinet/in.h`"
* Changed wording in is_ipv4/is_ipv6 methods to ", `false` otherwise"
* Add missing closing ` ``` ` in Ipv6Addr's examples
* Removed "Errors" section in ToSocketAddrs' to_socket_addrs method as it
  was rather redundant
src/libstd/net/addr.rs
src/libstd/net/ip.rs
src/libstd/net/mod.rs