summary refs log tree commit diff
path: root/src/doc/rustdoc
diff options
context:
space:
mode:
authorMartin Lindhe <martin-commit@ubique.se>2017-11-21 15:33:45 +0100
committerMartin Lindhe <martin-commit@ubique.se>2017-11-21 15:33:45 +0100
commitece9a57d1b6e10ef2ad1dffd19fd6033cdc760ee (patch)
tree9c6d182d6229e4c1fd08fc5064a17e63bad89d89 /src/doc/rustdoc
parentebda7662dbb79ab0a9feb79d367d0818c23ff1dc (diff)
downloadrust-ece9a57d1b6e10ef2ad1dffd19fd6033cdc760ee.tar.gz
rust-ece9a57d1b6e10ef2ad1dffd19fd6033cdc760ee.zip
fix some typos
Diffstat (limited to 'src/doc/rustdoc')
-rw-r--r--src/doc/rustdoc/src/command-line-arguments.md4
-rw-r--r--src/doc/rustdoc/src/documentation-tests.md2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/rustdoc/src/command-line-arguments.md b/src/doc/rustdoc/src/command-line-arguments.md
index 8e8e2a7ff1d..e51c63cf008 100644
--- a/src/doc/rustdoc/src/command-line-arguments.md
+++ b/src/doc/rustdoc/src/command-line-arguments.md
@@ -279,7 +279,7 @@ $ rustdoc README.md --markdown-playground-url https://play.rust-lang.org/
 ```
 
 When rendering a Markdown file, this flag gives the base URL of the Rust
-Playround, to use for generating `Run` buttons.
+Playground, to use for generating `Run` buttons.
 
 
 ## `--markdown-no-toc`: don't generate a table of contents
@@ -291,7 +291,7 @@ $ rustdoc README.md --markdown-no-toc
 ```
 
 When generating documentation from a Markdown file, by default, `rustdoc` will
-generate a table of contents. This flag supresses that, and no TOC will be
+generate a table of contents. This flag suppresses that, and no TOC will be
 generated.
 
 
diff --git a/src/doc/rustdoc/src/documentation-tests.md b/src/doc/rustdoc/src/documentation-tests.md
index 9c6b86d6ddc..e5a603a3709 100644
--- a/src/doc/rustdoc/src/documentation-tests.md
+++ b/src/doc/rustdoc/src/documentation-tests.md
@@ -50,7 +50,7 @@ running them. Here's the full algorithm rustdoc uses to preprocess examples:
 5. Finally, if the example does not contain `fn main`, the remainder of the
    text is wrapped in `fn main() { your_code }`.
 
-For more about that caveat in rule 4, see "Documeting Macros" below.
+For more about that caveat in rule 4, see "Documenting Macros" below.
 
 ## Hiding portions of the example