Add missing 'use std' in tutorial example
This commit is contained in:
parent
30a671dc0c
commit
75c56e8494
@ -1785,6 +1785,7 @@ fn world() -> str { "world" }
|
||||
~~~~
|
||||
## ignore
|
||||
// main.rs
|
||||
use std;
|
||||
use mylib;
|
||||
fn main() { std::io::println("hello " + mylib::world()); }
|
||||
~~~~
|
||||
|
Loading…
Reference in New Issue
Block a user