Skip to content

Commit

Permalink
Rollup merge of #87616 - Wilfred:patch-1, r=jyn514
Browse files Browse the repository at this point in the history
Fix missing word in rustdoc book
  • Loading branch information
JohnTitor authored Jul 30, 2021
2 parents f4dfb76 + c2a365d commit 8d5291c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/rustdoc/src/command-line-arguments.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 8d5291c

Please sign in to comment.