Fix example.
This commit is contained in:
parent
3ee1d3ebb8
commit
889e560ca5
1 changed files with 2 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue