From e3ebe8bc0218142aeeb91488afdd787aed5c3647 Mon Sep 17 00:00:00 2001 From: Pietro Albini Date: Wed, 10 Aug 2016 17:34:50 +0200 Subject: Fix docs typo in std::os::unix::net::SocketAddr::is_unnamed --- src/libstd/sys/unix/ext/net.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/sys') diff --git a/src/libstd/sys/unix/ext/net.rs b/src/libstd/sys/unix/ext/net.rs index b5287cce484..16aed4ea551 100644 --- a/src/libstd/sys/unix/ext/net.rs +++ b/src/libstd/sys/unix/ext/net.rs @@ -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() { -- cgit 1.4.1-3-g733a5