diff options
| author | Jonathan Turner <jonathandturner@users.noreply.github.com> | 2016-08-11 06:34:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-11 06:34:02 -0700 |
| commit | 0e92c5e8b28c41577d40a7e034fa698d74ba4c51 (patch) | |
| tree | 19ef7a60535728b9c3c983a885a83f43699d4d81 /src/libstd/sys | |
| parent | efbed8ba794189435c570a20c673235a957d0ff7 (diff) | |
| parent | 907a20c9e4ec9db4b9cebf0893bc48e0fe355a8a (diff) | |
| download | rust-0e92c5e8b28c41577d40a7e034fa698d74ba4c51.tar.gz rust-0e92c5e8b28c41577d40a7e034fa698d74ba4c51.zip | |
Rollup merge of #35569 - pietroalbini:fix-typo, r=steveklabnik
Fix docs typo in std::os::unix::net::SocketAddr::is_unnamed
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/unix/ext/net.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/unix/ext/net.rs b/src/libstd/sys/unix/ext/net.rs index b5287cce484..a4564b9543b 100644 --- a/src/libstd/sys/unix/ext/net.rs +++ b/src/libstd/sys/unix/ext/net.rs @@ -110,7 +110,7 @@ impl SocketAddr { }) } - /// Returns true iff the address is unnamed. + /// Returns true if and only if the address is unnamed. #[stable(feature = "unix_socket", since = "1.10.0")] pub fn is_unnamed(&self) -> bool { if let AddressKind::Unnamed = self.address() { |
