about summary refs log tree commit diff
path: root/doc/tutorial
diff options
context:
space:
mode:
authorHaitao Li <lihaitao@gmail.com>2011-11-25 10:02:58 +0800
committerMarijn Haverbeke <marijnh@gmail.com>2011-11-25 08:03:47 +0100
commit6168f8f15b8ad86e5b0670e39d6fcc0a212acb59 (patch)
tree822bcfbb10bfdd79d4d1f80425ab90d834224550 /doc/tutorial
parent036500186492cca39a4ac6b44cccf3c48e8da0be (diff)
tutorial: Fix typo in the test section
Diffstat (limited to 'doc/tutorial')
-rw-r--r--doc/tutorial/test.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tutorial/test.md b/doc/tutorial/test.md
index b60250217e8..694d69b16ff 100644
--- a/doc/tutorial/test.md
+++ b/doc/tutorial/test.md
@@ -22,7 +22,7 @@ not be used. To actually run the tests, compile with the `--test`
 flag:
 
     ## notrust
-    > rustc --lib twice.rs
+    > rustc --test twice.rs
     > ./twice
     running 1 tests
     test test_twice ... ok