rust
rust copied to clipboard
Fix predicate signatures in retain_mut docs
This is my first PR here so let me know if I'm doing anything wrong.
The docs for retain_mut
in LinkedList
and VecDeque
say the predicate takes &e
, but it should be &mut e
to match the actual signature. Vec
has it documented correctly already.