Rollup merge of #87616 - Wilfred:patch-1, r=jyn514

Fix missing word in rustdoc book
This commit is contained in:
Yuki Okushi 2021-07-31 04:09:34 +09:00 committed by GitHub
commit 8d5291c7cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ $ rustdoc src/lib.rs --document-private-items
By default, `rustdoc` only documents items that are publicly reachable.
```rust
pub fn public() {} // this item is public and will documented
pub fn public() {} // this item is public and will be documented
mod private { // this item is private and will not be documented
pub fn unreachable() {} // this item is public, but unreachable, so it will not be documented
}