Fix example.

This commit is contained in:
Eric J. Holmes 2012-12-22 23:51:49 -08:00 committed by Tim Chevalier
parent 40a3e20bbb
commit 8223a1278d

View File

@ -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):