about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2021-07-30 00:58:48 -0700
committerGitHub <noreply@github.com>2021-07-30 00:58:48 -0700
commitc2a365d3d4b5c067adfe8462a749e0c40746617a (patch)
tree9b2fe2b1ee7ce6f3cafbeebbcfc56ce742708749
parentfe1c942eee3489743d655d81ca89166217db0547 (diff)
downloadrust-c2a365d3d4b5c067adfe8462a749e0c40746617a.tar.gz
rust-c2a365d3d4b5c067adfe8462a749e0c40746617a.zip
Fix missing word in comment
-rw-r--r--src/doc/rustdoc/src/command-line-arguments.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustdoc/src/command-line-arguments.md b/src/doc/rustdoc/src/command-line-arguments.md
index c8af369a969..d6948622662 100644
--- a/src/doc/rustdoc/src/command-line-arguments.md
+++ b/src/doc/rustdoc/src/command-line-arguments.md
@@ -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
 }