]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #45307 - dbrgn:fix-typo, r=QuietMisdreavus
authorkennytm <kennytm@gmail.com>
Tue, 17 Oct 2017 14:20:58 +0000 (22:20 +0800)
committerGitHub <noreply@github.com>
Tue, 17 Oct 2017 14:20:58 +0000 (22:20 +0800)
Fix typo in rustdoc book

There was a tyop :P

src/doc/rustdoc/src/command-line-arguments.md

index 0f0bda65ce3797d6555c7499d081ac69f26b79c9..bf72a489b5a2870c943fb78841a61e71ade5506e 100644 (file)
@@ -96,7 +96,7 @@ Using this flag looks like this:
 $ rustdoc src/lib.rs --crate-name mycrate
 ```
 
-By default, `rustodc` assumes that the name of your crate is the same name
+By default, `rustdoc` assumes that the name of your crate is the same name
 as the `.rs` file. `--crate-name` lets you override this assumption with
 whatever name you choose.
 
@@ -253,7 +253,7 @@ $ rustdoc README.md --html-before-content extra.html
 ```
 
 This flag takes a list of files, and inserts them inside the `<body>` tag but
-before the other content `rustodc` would normally produce in the rendered
+before the other content `rustdoc` would normally produce in the rendered
 documentation.
 
 ## `--html-after-content`: include more HTML after the content
@@ -266,7 +266,7 @@ $ rustdoc README.md --html-after-content extra.html
 ```
 
 This flag takes a list of files, and inserts them before the `</body>` tag but
-after the other content `rustodc` would normally produce in the rendered
+after the other content `rustdoc` would normally produce in the rendered
 documentation.