Skip to content

Commit

Permalink
Rollup merge of #35569 - pietroalbini:fix-typo, r=steveklabnik
Browse files Browse the repository at this point in the history
Fix docs typo in std::os::unix::net::SocketAddr::is_unnamed
  • Loading branch information
Jonathan Turner authored Aug 10, 2016
2 parents d05d335 + 907a20c commit 66a0b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/unix/ext/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 66a0b85

Please sign in to comment.