diff --git a/doc/tutorial.md b/doc/tutorial.md index ebdb2303dcc20..1d0e87d1b739e 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -1757,7 +1757,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`, `again`, and `retern` +Additionally, within a `for` loop, `break`, `again`, and `return` work just as they do with `while` and `loop`. Consider again our `each` function, this time improved to