Skip to content

Commit

Permalink
Fix example.
Browse files Browse the repository at this point in the history
  • Loading branch information
ejholmes committed Dec 23, 2012
1 parent 3ee1d3e commit 889e560
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -2419,10 +2419,10 @@ these two files:
pub fn explore() -> &str { "world" }
~~~~

~~~~ {.xfail-test}
~~~~
// main.rs
extern mod world;
fn main() { io::println("hello " + world::explore()); }
fn main() { io::println(~"hello " + world::explore()); }
~~~~

Now compile and run like this (adjust to your platform if necessary):
Expand Down

0 comments on commit 889e560

Please sign in to comment.