Make the change from #1591 in second edition as well

This commit is contained in:
Carol (Nichols || Goulding) 2018-11-01 21:57:59 -04:00
parent e1464a7a8c
commit 64935180af
No known key found for this signature in database
GPG Key ID: D04B39A6CA243902
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
Rusts closures are anonymous functions you can save in a variable or pass as
arguments to other functions. You can create the closure in one place and then
call the closure to evaluate it in a different context. Unlike functions,
closures can capture values from the scope in which theyre called. Well
closures can capture values from the scope in which theyre defined. Well
demonstrate how these closure features allow for code reuse and behavior
customization.