We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 912ab64 commit 10e762eCopy full SHA for 10e762e
src/doc/reference.md
@@ -3517,13 +3517,14 @@ more of the closure traits:
3517
3518
* `FnMut`
3519
: 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`.
+ `FnMut` can mutate values from its environment. `FnMut` inherits from
+ `FnOnce` (i.e. anything implementing `FnMut` also implements `FnOnce`).
3522
3523
* `Fn`
3524
: The closure can be called multiple times through a shared reference.
3525
A closure called as `Fn` can neither move out from nor mutate values
3526
- from its environment. `Fn` implies `FnMut` and `FnOnce`.
+ from its environment. `Fn` inherits from `FnMut`, which itself
3527
+ inherits from `FnOnce`.
3528
3529
3530
### Trait objects
0 commit comments