Skip to content

Commit

Permalink
Clarify std::os::unix::net::SocketAddr::is_unnamed's docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Pietro Albini committed Aug 10, 2016
1 parent e3ebe8b commit 907a20c
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 if 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 907a20c

Please sign in to comment.