Rollup merge of #87616 - Wilfred:patch-1, r=jyn514
Fix missing word in rustdoc book
This commit is contained in:
commit
8d5291c7cd
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user