Clarify std::os::unix::net::SocketAddr::is_unnamed's docstring
This commit is contained in:
parent
e3ebe8bc02
commit
907a20c9e4
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue