]> git.lizzy.rs Git - rust.git/commitdiff
tutorial: Formatting fix
authorBenjamin Herr <ben@0x539.de>
Fri, 6 Jul 2012 21:55:25 +0000 (23:55 +0200)
committerBenjamin Herr <ben@0x539.de>
Fri, 6 Jul 2012 21:55:25 +0000 (23:55 +0200)
doc/tutorial.md

index b662a218eb48f7a88022fda988bcce335535d69a..51805f4feea5d325628a7766fe1d11bea223947d 100644 (file)
@@ -1187,7 +1187,7 @@ Empty argument lists can be omitted from `do` expressions.
 
 Most iteration in Rust is done with `for` loops. Like `do`,
 `for` is a nice syntax for doing control flow with closures.
-Additionally, within a `for` loop, `break, `cont`, and `ret`
+Additionally, within a `for` loop, `break`, `cont`, and `ret`
 work just as they do with `while` and `loop`.
 
 Consider again our `each` function, this time improved to