Tutorial: 'import std;' should be 'use std;'.

This commit is contained in:
Matt Brubeck 2011-11-06 22:20:08 -08:00 committed by Marijn Haverbeke
parent 05c9c73756
commit ce8c5b0340

View File

@ -97,7 +97,7 @@ suppressed by using a variable name that starts with an underscore.
The `let` keyword, as we've seen, introduces a local variable. Global
constants can be defined with `const`:
import std;
use std;
const repeat: uint = 5u;
fn main() {
let count = 0u;