about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-07-31 04:09:34 +0900
committerGitHub <noreply@github.com>2021-07-31 04:09:34 +0900
commit8d5291c7cdc0b593fdfb35293b372506447f72cd (patch)
treecdf3bb07f763c4c8fa0cf910185fbf9e6047343d /src/doc
parentf4dfb76ea1f1312c6602a0ab24ec64f976c0a281 (diff)
parentc2a365d3d4b5c067adfe8462a749e0c40746617a (diff)
downloadrust-8d5291c7cdc0b593fdfb35293b372506447f72cd.tar.gz
rust-8d5291c7cdc0b593fdfb35293b372506447f72cd.zip
Rollup merge of #87616 - Wilfred:patch-1, r=jyn514
Fix missing word in rustdoc book
Diffstat (limited to 'src/doc')
-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
 }