Add missing 'use std' in tutorial example

This commit is contained in:
Marijn Haverbeke 2012-02-05 14:57:33 +01:00
parent 30a671dc0c
commit 75c56e8494
1 changed files with 1 additions and 0 deletions

View File

@ -1785,6 +1785,7 @@ fn world() -> str { "world" }
~~~~
## ignore
// main.rs
use std;
use mylib;
fn main() { std::io::println("hello " + mylib::world()); }
~~~~