Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit40a9be9

Browse files
authored
Update ip_addr.rs
1 parenta6b22e9 commit40a9be9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎core/src/net/ip_addr.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ impl IpAddr {
406406
matches!(self,IpAddr::V6(_))
407407
}
408408

409-
/// Converts this address to an `IpAddr::V4` if it is an IPv4-mapped IPv6addresses, otherwise it
409+
/// Converts this address to an `IpAddr::V4` if it is an IPv4-mapped IPv6address, otherwise it
410410
/// returns `self` as-is.
411411
///
412412
/// # Examples
@@ -1879,7 +1879,7 @@ impl Ipv6Addr {
18791879
}
18801880
}
18811881

1882-
/// Converts this address to an `IpAddr::V4` if it is an IPv4-mappedaddresses, otherwise it
1882+
/// Converts this address to an `IpAddr::V4` if it is an IPv4-mappedaddress, otherwise it
18831883
/// returns self wrapped in an `IpAddr::V6`.
18841884
///
18851885
/// # Examples

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp