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

std::net documentation cleanup #24961

Merged
merged 4 commits into from
Apr 30, 2015
Merged

std::net documentation cleanup #24961

merged 4 commits into from
Apr 30, 2015

Conversation

nham
Copy link
Contributor

@nham nham commented Apr 29, 2015

Changes made include adding missing punctuation, adding missing words, and converting uses of "Gets" to "Returns" in libstd/net/addr.rs to make it more consistent with the other documentation.

Fixes #24925.

Nick Hamann added 4 commits April 29, 2015 15:59
This adds some missing punctuation, adds a missing word, and
corrects a bug in the description of `send_to`, which actually
returns the number of bytes written on success.

Fixes rust-lang#24925.
This adds some missing punctuation and converts uses of "Gets" to
"Returns". This sounds better to my ear, but more importantly is
more consistent with the documentation from other files.
@rust-highfive
Copy link
Collaborator

r? @huonw

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+ 2baeabd rollup

Thanks!

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Apr 29, 2015
Changes made include adding missing punctuation, adding missing words, and converting uses of "Gets" to "Returns" in libstd/net/addr.rs to make it more consistent with the other documentation.

Fixes rust-lang#24925.
@bors bors merged commit 2baeabd into rust-lang:master Apr 30, 2015
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.

std::net::UdpSocket documentation about returned data is misleading
6 participants