about summary refs log tree commit diff
path: root/src/doc/rustdoc
diff options
context:
space:
mode:
authorMarco Ieni <11428655+MarcoIeni@users.noreply.github.com>2020-12-27 14:10:00 +0100
committerGitHub <noreply@github.com>2020-12-27 14:10:00 +0100
commitf57152f64048754640926a95e6b76b18f28574b1 (patch)
treeed6c53e62a8a87080bc5a7f4eae4f810e42c28f5 /src/doc/rustdoc
parent1d517afcd0929450ded8f644fa8e8da3776db68b (diff)
downloadrust-f57152f64048754640926a95e6b76b18f28574b1.tar.gz
rust-f57152f64048754640926a95e6b76b18f28574b1.zip
rustdoc book: fix example
Diffstat (limited to 'src/doc/rustdoc')
-rw-r--r--src/doc/rustdoc/src/what-is-rustdoc.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustdoc/src/what-is-rustdoc.md b/src/doc/rustdoc/src/what-is-rustdoc.md
index 1f6dced180b..32dc1e02bb3 100644
--- a/src/doc/rustdoc/src/what-is-rustdoc.md
+++ b/src/doc/rustdoc/src/what-is-rustdoc.md
@@ -10,7 +10,7 @@ CSS, and JavaScript.
 Let's give it a try! Create a new project with Cargo:
 
 ```bash
-$ cargo new docs
+$ cargo new docs --lib
 $ cd docs
 ```