rollup merge of #16881 : cmr/guide-typo
This commit is contained in:
commit
33029c5ddd
1 changed files with 1 additions and 1 deletions
|
@ -4228,7 +4228,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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue