Add missing 'use std' in tutorial example
This commit is contained in:
parent
30a671dc0c
commit
75c56e8494
1 changed files with 1 additions and 0 deletions
|
@ -1785,6 +1785,7 @@ fn world() -> str { "world" }
|
|||
~~~~
|
||||
## ignore
|
||||
// main.rs
|
||||
use std;
|
||||
use mylib;
|
||||
fn main() { std::io::println("hello " + mylib::world()); }
|
||||
~~~~
|
||||
|
|
Loading…
Add table
Reference in a new issue