about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmil Gardström <emil.gardstrom@gmail.com>2023-12-28 19:05:13 +0100
committerGitHub <noreply@github.com>2023-12-28 19:05:13 +0100
commit12dd5d1d0d52460be4e3673a944ca0334246b89e (patch)
treed3c6e8c95babdb62f9b248e9ad2b7c53b2ba03c6
parentf4d794ea0b845413344621d89f6c945062748485 (diff)
downloadrust-12dd5d1d0d52460be4e3673a944ca0334246b89e.tar.gz
rust-12dd5d1d0d52460be4e3673a944ca0334246b89e.zip
fix typo
-rw-r--r--library/core/src/net/ip_addr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/net/ip_addr.rs b/library/core/src/net/ip_addr.rs
index 8bf15c736c3..1ef876a3163 100644
--- a/library/core/src/net/ip_addr.rs
+++ b/library/core/src/net/ip_addr.rs
@@ -407,7 +407,7 @@ impl IpAddr {
     }
 
     /// Converts this address to an `IpAddr::V4` if it is an IPv4-mapped IPv6 addresses, otherwise it
-    /// return `self` as-is.
+    /// returns `self` as-is.
     ///
     /// # Examples
     ///