This Week in Rust Docs 20
Hello and welcome to This Week in Rust Docs!
This Week in Rust Docs is openly developed on GitHub. If you find any errors in this week’s issue, please submit a PR.
And of course, don’t forget to look at the docs:
This week’s edition was edited by Matthew Piziak.
Latest news (getting a bit old but still gold!)
Please take a look to the next rust doc days planning reminder.
The topic to propose crates for the Rust Doc Days is still open and waiting for contributions here. Please take a look!
Current opened issues
For now, here are the three big issues for Rust documentation:
- Error code list which need to be updated to new format
- The Standard Library Documentation Checklist
- Add error explanations for all error codes
They all need help to move forward so any contribution is very welcome!
There are currently around 70 other documentation issues opened. Look for A-docs tagged issues on GitHub!
Call for participation
There’s now a call for participation to display all methods of a type, even those from implicit traits in rustdoc. This is a great way to help users find everything that a type can do. Any help on it would be very appreciated!
Waiting for merge
- @matthew-piziak added links to interesting items in
std::ptrdocumentation and refactored range examples - @frewsxcv indicated where
core::result::IntoIteris created - @steveklabnik made it clear that reference isn’t normative
- @ollie27 fixed associated consts in search results
- @GuillaumeGomez fixed formatting generation for rustdoc code examples and added missing urls
- @Cobrand added mention of
make tidy - @c4rlo fixed a “\” in a table heading to be “/”
- @apasel422 cleaned up thread-local storage docs
Recent doc contributions
This week (too), I’ll split between the new error code format contributions and the others. Let’s start by the first one:
- @KiChjang: E0379
- @EugeneGonzalez: E0528 and E0259
- @abhiQmar: E0076 and E0558
- @mikhail-m1: E0451 and E0265
- @birryree: E0194
- @paulfanelli: E0463
- @acrrd: E0318
- @0xmohit: E0260, E0520
- @zjhmale: E0393
- @gavinb: E0164, E0615, and E0184
- @athulappadan: E0034
Other contributions:
- @matthew-piziak improved documentation for
Fn*traits, added evocative examples forShlandShr, added evocative examples forBitOrandBitXor, replacedBitAndAssignexample with something more evocative, improvedBitAndtrait documentation, added a simple example forthread::current(), implemented accumulate vector and assert forRangeFromandRangeInclusiveexamples, showed how iterating overRangeToandRangeToInclusivefails, and demonstratedRHS != Selfuse cases forAddandSub - @F001 fixed documentation in the
cellmodule - @regexident updated a code sample in chapter on syntax extensions
- @frewsxcv noticed that rustbook chapters/sections should be ordered lists
- @tshepang made the
TcpListenerexample more simple - @dns2utf8 updated the man pages
- @fanzier fixed a typo in
PartialOrddocs - @wdv4758h changed
rustc::plugintorustc_pluginin a doc comment - @birkenfeld explained why
Box/Rc/Arcmethods do not takeself - @GuillaumeGomez improved
PathandPathBufdocs - @durka indicated where to copy
config.toml.example - @skade documented
try!’s error conversion behavior
Meetings
Next meeting will be on Wednesday 7th of September 2016 at 20:00 GMT on #rust-docs channel on irc.mozilla.org. Feel free to come!