Skip to content

Commit 50bb838

Browse files
committed
Merge pull request #4272 from ejholmes/crates-minimal-example
Fix example in 13.3.
2 parents 84671e5 + 889e560 commit 50bb838

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/tutorial.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2419,10 +2419,10 @@ these two files:
24192419
pub fn explore() -> &str { "world" }
24202420
~~~~
24212421

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

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

0 commit comments

Comments
 (0)