refine wording

This commit is contained in:
Bulat Musin
2018-01-14 08:20:58 +03:00
committed by GitHub
parent 628d34ee59
commit f23a91d6a2

View File

@@ -753,7 +753,7 @@ three `Fn` traits as follows:
closure must take ownership of these variables and move them into the closure
when it is defined. The `Once` part of the name represents the fact that the
closure cant take ownership of the same variables more than once, so it can
only be called one time.
be called only once.
* `Fn` borrows values from the environment immutably.
* `FnMut` can change the environment because it mutably borrows values.