From 889e560ca5d532ab577d1f50238795cd9a871998 Mon Sep 17 00:00:00 2001 From: "Eric J. Holmes" Date: Sat, 22 Dec 2012 23:51:49 -0800 Subject: [PATCH] Fix example. --- doc/tutorial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/tutorial.md b/doc/tutorial.md index 3a90b0baacd79..1da75ab186458 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -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):