This Week in Rust Docs 18
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: GuillaumeGomez.
Latest news
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 50 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 improved documentation for
Fn*
traits, replacedBitAnd
example with something more evocative of bitwise AND, demonstrated thatRHS != Self
use cases forAdd
andSub
, added evocative examples forShl
andShr
, replacedRem
example with something more evocative, replacedMul
example with something more evocative of multiplication, replacedIndex
example with something more evocative of indexing, made more evocative examples forSub
andSubAssign
, replacedprintln!
statements withassert!
ions instd::ptr
examples, added example forRc::would_unwrap
, added links to interesting items instd::ptr
documentation and added a panic example to std::from_utf8_unchecked. - @F001 fixed documentation in cell mod.
- @CryZe fixed “Furthermore” Typo in String Docs.
- @alevy fixed a minor typo in CONTRIBUTING.md.
- @munyari added reference to
Self
in traits chapter (book). - @frewsxcv indicated where
core::result::IntoIter
is created and made various refactorings in the rustdoc module. - @Stebalien clarified/fixed formatting docs concerning fmt::Result/fmt::Error.
- @jhod0 added diagnostics for rustc_metadata.
- @estebank added a specific error message for misplaced doc comments.
- @ollie27 removed item types from some title pages from rustdoc.
- @steveklabnik made it clear that the reference isn’t normative.
- @GuillaumeGomez improved Path and PathBuf docs, added new error code tests and fixed formatting generation for rustdoc code examples.
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:
- @trixnz: E0428
- @mlayne: E0232
- @pliniker: E0084
- @clementmiao: E0396, E0395
- @KiChjang: E0053
- @crypto-universe: E0407
- @DevShep: E0009
- @circuitfox: E0403
- @pythoneer: E0005
- @mikhail-m1: E0409, E0375
- @knight42: E0394 and E0422
- @yossi-k: E0322
- @canaltinova: E0392
- @RockyTV: E0365
Others contributions:
- @matthew-piziak replaced
Neg
example with something more evocative of negation, replacedNot
example with something more evocative, replacedAddAssign
example with something more evocative of addition, demonstratedRHS != Self
use cases forMul
andDiv
, replacedAdd
example with something more evocative of addition. - @terrynsun updated E0207 label to report parameter type.
- @CryZe improved
No stdlib
and related documentation. - @crypto-universe updated test for E0221.
- @ErikUggeldahl fixed very minor spelling typo in The Book.
- @cantino fixed minor typo.
- @wdv4758h fixed incorrect label messages for missing unsafe blocks (E0133).
- @frewsxcv added a few doc examples for
std::ffi::OsStr
. - @ollie27 fixed a couple of issues with search results in rustdoc.
- @jonathandturner fixed wording in error messages and moved ‘doesn’t live long enough’ errors to labels.
- @GuillaumeGomez added new error code tests and fixed issue #11004.
Meetings
Next meeting will be on Wednesday 24th of August 2016 at 20:00 GMT on #rust-docs channel on irc.mozilla.org. Feel free to come!