diff options
| author | Matt Brubeck <mbrubeck@limpet.net> | 2011-11-06 22:20:08 -0800 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-11-07 08:45:29 +0100 |
| commit | ce8c5b0340050e1285f69689d0e16ece4bea8cf9 (patch) | |
| tree | dbd808918e2fdf0854d06017319ea32018334afb /doc/tutorial/syntax.md | |
| parent | 05c9c73756dc1409918a7bde8b006aec69195070 (diff) | |
| download | rust-ce8c5b0340050e1285f69689d0e16ece4bea8cf9.tar.gz rust-ce8c5b0340050e1285f69689d0e16ece4bea8cf9.zip | |
Tutorial: 'import std;' should be 'use std;'.
Diffstat (limited to 'doc/tutorial/syntax.md')
| -rw-r--r-- | doc/tutorial/syntax.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tutorial/syntax.md b/doc/tutorial/syntax.md index d2c36bcb35e..d0bbf934f45 100644 --- a/doc/tutorial/syntax.md +++ b/doc/tutorial/syntax.md @@ -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; |
