Skip to content

Commit ce8c5b0

Browse files
mbrubeckmarijnh
authored andcommitted
Tutorial: 'import std;' should be 'use std;'.
1 parent 05c9c73 commit ce8c5b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/tutorial/syntax.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ suppressed by using a variable name that starts with an underscore.
9797
The `let` keyword, as we've seen, introduces a local variable. Global
9898
constants can be defined with `const`:
9999

100-
import std;
100+
use std;
101101
const repeat: uint = 5u;
102102
fn main() {
103103
let count = 0u;

0 commit comments

Comments
 (0)