Skip to content

Commit 75c56e8

Browse files
committed
Add missing 'use std' in tutorial example
1 parent 30a671d commit 75c56e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/tutorial.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1785,6 +1785,7 @@ fn world() -> str { "world" }
17851785
~~~~
17861786
## ignore
17871787
// main.rs
1788+
use std;
17881789
use mylib;
17891790
fn main() { std::io::println("hello " + mylib::world()); }
17901791
~~~~

0 commit comments

Comments
 (0)