Skip to content

Commit e3ebe8b

Browse files
author
Pietro Albini
committed
Fix docs typo in std::os::unix::net::SocketAddr::is_unnamed
1 parent ae77410 commit e3ebe8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/unix/ext/net.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ impl SocketAddr {
110110
})
111111
}
112112

113-
/// Returns true iff the address is unnamed.
113+
/// Returns true if the address is unnamed.
114114
#[stable(feature = "unix_socket", since = "1.10.0")]
115115
pub fn is_unnamed(&self) -> bool {
116116
if let AddressKind::Unnamed = self.address() {

0 commit comments

Comments
 (0)