about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2020-06-08 13:37:58 -0700
committerJosh Stone <jistone@redhat.com>2020-06-08 13:37:58 -0700
commitfd483c86db58b0407ce00c37e30659c7a230b0a6 (patch)
tree207b226371ba4935cca697022394adc301e4bcb0
parentbc10b68e798477066d4b1ec4886a3b1cdc4feb7e (diff)
downloadrust-fd483c86db58b0407ce00c37e30659c7a230b0a6.tar.gz
rust-fd483c86db58b0407ce00c37e30659c7a230b0a6.zip
typo: awailable -> available
-rw-r--r--src/doc/unstable-book/src/compiler-flags/report-time.md2
-rw-r--r--src/libtest/cli.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/unstable-book/src/compiler-flags/report-time.md b/src/doc/unstable-book/src/compiler-flags/report-time.md
index ed4e9c6b568..68265d8a9e8 100644
--- a/src/doc/unstable-book/src/compiler-flags/report-time.md
+++ b/src/doc/unstable-book/src/compiler-flags/report-time.md
@@ -22,7 +22,7 @@ Available options:
 
 ```sh
 --report-time [plain|colored]
-                Show execution time of each test. Awailable values:
+                Show execution time of each test. Available values:
                 plain = do not colorize the execution time (default);
                 colored = colorize output according to the `color`
                 parameter value;
diff --git a/src/libtest/cli.rs b/src/libtest/cli.rs
index 0cec8050c27..97a659f22d7 100644
--- a/src/libtest/cli.rs
+++ b/src/libtest/cli.rs
@@ -115,7 +115,7 @@ fn optgroups() -> getopts::Options {
         .optflagopt(
             "",
             "report-time",
-            "Show execution time of each test. Awailable values:
+            "Show execution time of each test. Available values:
             plain   = do not colorize the execution time (default);
             colored = colorize output according to the `color` parameter value;