From f26df46a129d6564d77e6108f2f1d823904b3841 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 20 Dec 2012 13:55:52 -0800 Subject: [PATCH] tutorial: Re-remove core:: prefix from some examples --- doc/tutorial.md | 8 ++++---- 1 file 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; } ~~~~