Fix docs typo in std::os::unix::net::SocketAddr::is_unnamed
This commit is contained in:
parent
ae77410350
commit
e3ebe8bc02
@ -110,7 +110,7 @@ impl SocketAddr {
|
||||
})
|
||||
}
|
||||
|
||||
/// Returns true iff the address is unnamed.
|
||||
/// Returns true 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…
x
Reference in New Issue
Block a user