Skip to content

Commit b594dfa

Browse files
authored
Rollup merge of rust-lang#119386 - Emilgardis:typo-ipaddr-canonical-doc, r=est31
fix typo in `IpAddr::to_canonical`
2 parents c67ab2e + 12dd5d1 commit b594dfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/net/ip_addr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ impl IpAddr {
407407
}
408408

409409
/// Converts this address to an `IpAddr::V4` if it is an IPv4-mapped IPv6 addresses, otherwise it
410-
/// return `self` as-is.
410+
/// returns `self` as-is.
411411
///
412412
/// # Examples
413413
///

0 commit comments

Comments
 (0)