We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f26df46 commit 21c9d08Copy full SHA for 21c9d08
doc/tutorial.md
@@ -189,7 +189,7 @@ parentheses, while their bodies *must* be wrapped in
189
braces. Single-statement, unbraced bodies are not allowed.
190
191
~~~~
192
-# mod universe { fn recalibrate() -> bool { true } }
+# mod universe { pub fn recalibrate() -> bool { true } }
193
fn main() {
194
/* A simple loop */
195
loop {
@@ -210,7 +210,7 @@ let hi = "hi";
210
let mut count = 0;
211
212
while count < 10 {
213
- io::println(fmt!("count: %?", i));
+ io::println(fmt!("count: %?", count));
214
count += 1;
215
}
216
0 commit comments