Ipv6Addr::is_documentation
should be expanded to include RFC 9637's 3ffff::/20
#137821
Labels
C-bug
Category: This is a bug.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
The unstable
Ipv6Addr::is_documentation
(#27709) is documented, matching the implementation, asHowever, RFC 9637 from Aug 2024 added
3fff::/20
as a documentation space as well, and thus this API should be updated.This does mean two programs may disagree on whether an address
is_documentation
based on which version of the stdlib they use…but I think that's inevitable with anything based on IETF standards. (In some cases it might make sense to explicitly pin the library to an earlier version of the standard, but I don't think that's necessary here.)The text was updated successfully, but these errors were encountered: