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

Mark Ipv4Addr is_unspecified as stable and provide reference. #34739

Merged
merged 1 commit into from
Jul 13, 2016
Merged

Mark Ipv4Addr is_unspecified as stable and provide reference. #34739

merged 1 commit into from
Jul 13, 2016

Conversation

therealbstern
Copy link
Contributor

Per #27709 (comment), no RFC is needed here.

IPv4 "unspecified" has been defined in [Stevens], and has been part of the IPv4 stack for quite some time. This property should become stable, since this use of 0.0.0.0 is not going anywhere.

[Stevens][UNIX Network Programming Volume 1, Second Edition. Stevens, W. Richard. Prentice-Hall, 1998. p. 891]

Please let me know if I got the rustdoc wrong or something. I tried to be as terse as possible while still conveying the appropriate information.

This also has a slight impact on PR #34694, but that one came first, so this shouldn't block it, IMO.

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@alexcrichton
Copy link
Member

Thanks for the PR @therealbstern! Currently though the way the libs team handles stabilizations is to do so with a "final comment period" where we have an entire cycle to discuss whether an API should be stable or not. We'll actually nominate this coming Monday the set of APIs we'd like to see stabilized in 1.12.

Along those lines I've made sure to nominate the relevant issue (so we'll see it), and could you back out the changes to the stability tag here? Other than that the doc change looks good to me to merge!

@therealbstern
Copy link
Contributor Author

Done and done. Thank you!

@alexcrichton
Copy link
Member

Could you also squash the commits together?

@alexcrichton
Copy link
Member

Also, out of curiosity, is there any online sources of this information we could link to as well?

@therealbstern
Copy link
Contributor Author

I put in a link to man7. I didn't squash because I've already pushed to github, so it's rejecting the squashing. Should I close this PR and open a new one, or leave it as is?

BTW, the documentation (and the welcome message from rust-highfive) implies not to squash. Is this incorrect?

@brson
Copy link
Contributor

brson commented Jul 11, 2016

@therealbstern You should be able to push the squashed branch to your repo with -f. Generally, we don't like squashing during review, because it makes it hard to follow review progress, but often reviewers ask for a squash before the final commit.

@therealbstern
Copy link
Contributor Author

Thanks for the hint about -f -- squashed.

@alexcrichton
Copy link
Member

@bors: r+ cd487db

@bors
Copy link
Contributor

bors commented Jul 13, 2016

⌛ Testing commit cd487db with merge 4bbb1c5...

bors added a commit that referenced this pull request Jul 13, 2016
Mark Ipv4Addr is_unspecified as stable and provide reference.

Per [#27709 (comment)](#27709 (comment)), no RFC is needed here.

IPv4 "unspecified" has been defined in [Stevens], and has been part of the IPv4 stack for quite some time.  This property should become stable, since this use of 0.0.0.0 is not going anywhere.

[Stevens][_UNIX Network Programming Volume 1, Second Edition_.  Stevens, W. Richard.  Prentice-Hall, 1998.  p. 891]

Please let me know if I got the rustdoc wrong or something.  I tried to be as terse as possible while still conveying the appropriate information.

This also has a slight impact on PR #34694, but that one came first, so this shouldn't block it, IMO.
@bors bors merged commit cd487db into rust-lang:master Jul 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants