From c2a365d3d4b5c067adfe8462a749e0c40746617a Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Fri, 30 Jul 2021 00:58:48 -0700 Subject: [PATCH] Fix missing word in comment --- src/doc/rustdoc/src/command-line-arguments.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/rustdoc/src/command-line-arguments.md b/src/doc/rustdoc/src/command-line-arguments.md index c8af369a9695e..d694862266254 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 }