about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-12-20 13:55:52 -0800
committerBrian Anderson <banderson@mozilla.com>2012-12-20 16:32:44 -0800
commitf26df46a129d6564d77e6108f2f1d823904b3841 (patch)
treefd43dc4f1cb1c9081cfa62cb8fc9d7c7e8f8fcb1
parentd38f784da64346d5467d1092742884e212949adf (diff)
tutorial: Re-remove core:: prefix from some examples
-rw-r--r--doc/tutorial.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md
index 43345e5585f..c98a96c10de 100644
--- a/doc/tutorial.md
+++ b/doc/tutorial.md
@@ -128,7 +128,7 @@ we have a file `hello.rs` containing this program:
 
 ~~~~
 fn main() {
-    core::io::println("hello?");
+    io::println("hello?");
 }
 ~~~~
 
@@ -142,8 +142,8 @@ error. If you introduce an error into the program (for example, by changing
 an error message like this:
 
 ~~~~ {.notrust}
-hello.rs:2:4: 2:16 error: unresolved name: core::io::print_with_unicorns
-hello.rs:2     core::io::print_with_unicorns("hello?");
+hello.rs:2:4: 2:16 error: unresolved name: io::print_with_unicorns
+hello.rs:2     io::print_with_unicorns("hello?");
                ^~~~~~~~~~~~~~~~~~~~~~~
 ~~~~
 
@@ -210,7 +210,7 @@ let hi = "hi";
 let mut count = 0;
 
 while count < 10 {
-    core::io::println(fmt!("count: %?", i));
+    io::println(fmt!("count: %?", i));
     count += 1;
 }
 ~~~~