Skip to content

Commit

Permalink
Rollup merge of #97337 - tbu-:pr_fix_stabilization_ipv4_mapped, r=Mar…
Browse files Browse the repository at this point in the history
…k-Simulacrum

Fix stabilization version of `Ipv6Addr::to_ipv4_mapped`
  • Loading branch information
JohnTitor authored May 24, 2022
2 parents 1b59db4 + 328c843 commit a1cbf66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/net/ip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1655,7 +1655,7 @@ impl Ipv6Addr {
/// assert_eq!(Ipv6Addr::new(0, 0, 0, 0, 0, 0, 0, 1).to_ipv4_mapped(), None);
/// ```
#[rustc_const_unstable(feature = "const_ipv6", issue = "76205")]
#[stable(feature = "ipv6_to_ipv4_mapped", since = "1.62.0")]
#[stable(feature = "ipv6_to_ipv4_mapped", since = "1.63.0")]
#[must_use = "this returns the result of the operation, \
without modifying the original"]
#[inline]
Expand Down

0 comments on commit a1cbf66

Please sign in to comment.