Skip to content

add a disclaimer to the net::ip methods that are susceptible to change #60239

Description

@little-dude

This issue has come up in #60145
See in particular @the8472's comment.

The IP specifications are constantly changing as new RFCs get written and accepted, and the bits of the specification that are implemented in the standard library may need to be updated accordingly. That means that in the future, we may have to change the behavior of methods that are stable (I think that this is allowed by Rust's rules regarding stability as long as we don't modify the API, but someone more knowledgeable should confirm).

For this reason, it would be nice to add a disclaimer in the documentation of the methods which behavior is susceptible to change in the future, a little bit like the Platform Specific Behavior disclaimer in the doc of some IO methods.

cc @the8472

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-enhancementCategory: An issue proposing an enhancement or a PR with one.T-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions