Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ipv6Addr::is_ipv4_mapped #119081

Merged
merged 1 commit into from
Jan 21, 2024
Merged

Add Ipv6Addr::is_ipv4_mapped #119081

merged 1 commit into from
Jan 21, 2024

Commits on Dec 18, 2023

  1. Add Ipv6Addr::is_ipv4_mapped

    This change consists of cherry-picking the content from the original
    PR[1], which got closed due to inactivity, and applying the following
    changes:
    
    * Resolving merge conflicts (obviously)
    * Linked to to_ipv4_mapped instead of to_ipv4 in the documentation (seems
      more appropriate)
    * Added the must_use and rustc_const_unstable attributes the original
      didn't have
    
    I think it's a reasonably useful method.
    
    [1] rust-lang#86490
    CDirkx authored and jstasiak committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    605504c View commit details
    Browse the repository at this point in the history