Skip to content

Commit 33029c5

Browse files
committed
rollup merge of rust-lang#16881 : cmr/guide-typo
2 parents 56a029f + 02d96ac commit 33029c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4228,7 +4228,7 @@ don't need to declare one. This is different from named functions, which
42284228
default to returning unit (`()`).
42294229

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

42344234
```{rust}

0 commit comments

Comments
 (0)