We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8c7fd35 + 10e762e commit d1fcb2fCopy full SHA for d1fcb2f
src/doc/reference.md
@@ -3529,13 +3529,14 @@ more of the closure traits:
3529
3530
* `FnMut`
3531
: The closure can be called multiple times as mutable. A closure called as
3532
- `FnMut` can mutate values from its environment. `FnMut` implies
3533
- `FnOnce`.
+ `FnMut` can mutate values from its environment. `FnMut` inherits from
+ `FnOnce` (i.e. anything implementing `FnMut` also implements `FnOnce`).
3534
3535
* `Fn`
3536
: The closure can be called multiple times through a shared reference.
3537
A closure called as `Fn` can neither move out from nor mutate values
3538
- from its environment. `Fn` implies `FnMut` and `FnOnce`.
+ from its environment. `Fn` inherits from `FnMut`, which itself
3539
+ inherits from `FnOnce`.
3540
3541
3542
### Trait objects
0 commit comments