Merge pull request #4272 from ejholmes/crates-minimal-example

Fix example in 13.3.
This commit is contained in:
Tim Chevalier 2012-12-23 13:38:48 -08:00
commit 50bb838389

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