about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-12-30 11:42:03 +0100
committerGitHub <noreply@github.com>2023-12-30 11:42:03 +0100
commitb594dfa456da0f60b3b61678db16d0141a34bf30 (patch)
tree9a94d5e74a7a45ce2a1753d78b1ce9b64ada9c8e
parentc67ab2e0b4e38aa8e349da0ec06e4c606ba0a5de (diff)
parent12dd5d1d0d52460be4e3673a944ca0334246b89e (diff)
downloadrust-b594dfa456da0f60b3b61678db16d0141a34bf30.tar.gz
rust-b594dfa456da0f60b3b61678db16d0141a34bf30.zip
Rollup merge of #119386 - Emilgardis:typo-ipaddr-canonical-doc, r=est31
fix typo in `IpAddr::to_canonical`
-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
     ///