rust icon indicating copy to clipboard operation
rust copied to clipboard

Fix predicate signatures in retain_mut docs

Open collinoc opened this issue 4 months ago • 3 comments

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.

collinoc avatar Oct 17 '24 01:10 collinoc