File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3517,13 +3517,14 @@ more of the closure traits:
35173517
35183518* ` FnMut `
35193519 : The closure can be called multiple times as mutable. A closure called as
3520- ` FnMut ` can mutate values from its environment. ` FnMut ` implies
3521- ` FnOnce ` .
3520+ ` FnMut ` can mutate values from its environment. ` FnMut ` inherits from
3521+ ` FnOnce ` (i.e. anything implementing ` FnMut ` also implements ` FnOnce ` ) .
35223522
35233523* ` Fn `
35243524 : The closure can be called multiple times through a shared reference.
35253525 A closure called as ` Fn ` can neither move out from nor mutate values
3526- from its environment. ` Fn ` implies ` FnMut ` and ` FnOnce ` .
3526+ from its environment. ` Fn ` inherits from ` FnMut ` , which itself
3527+ inherits from ` FnOnce ` .
35273528
35283529
35293530### Trait objects
You can’t perform that action at this time.
0 commit comments