mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 08:53:35 +00:00
Fix missing word in comment
This commit is contained in:
parent
fe1c942eee
commit
c2a365d3d4
@ -94,7 +94,7 @@ $ rustdoc src/lib.rs --document-private-items
|
|||||||
By default, `rustdoc` only documents items that are publicly reachable.
|
By default, `rustdoc` only documents items that are publicly reachable.
|
||||||
|
|
||||||
```rust
|
```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
|
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
|
pub fn unreachable() {} // this item is public, but unreachable, so it will not be documented
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user