Skip to content

Commit

Permalink
guide: function -> closure in explanation of closures
Browse files Browse the repository at this point in the history
  • Loading branch information
emberian committed Aug 30, 2014
1 parent cbacdbc commit 02d96ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/guide.md
Expand Up @@ -4223,7 +4223,7 @@ don't need to declare one. This is different from named functions, which
default to returning unit (`()`).

There's one big difference between a closure and named functions, and it's in
the name: a function "closes over its environment." What's that mean? It means
the name: a closure "closes over its environment." What's that mean? It means
this:

```{rust}
Expand Down

0 comments on commit 02d96ac

Please sign in to comment.