Skip to content

Commit 907a20c

Browse files
author
Pietro Albini
committed
Clarify std::os::unix::net::SocketAddr::is_unnamed's docstring
1 parent e3ebe8b commit 907a20c

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 if the address is unnamed.
113+
/// Returns true if and only 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)