mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
759820e631
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](https://doc.rust-lang.org/std/vec/struct.Vec.html#method.retain_mut) correctly already. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |