Commit Graph

8 Commits

Author SHA1 Message Date
BenjaminBrienen
56734495e2 feature: Implement vec_try_remove
Vec::try_remove is a non-panicking version of Vec::remove
2025-09-24 15:29:09 +02:00
Sidney Cammeresi
934ee043fe Plumb Allocator generic into std::vec::PeekMut 2025-09-18 17:29:23 -07:00
Sidney Cammeresi
ce859d7713 Switch std::vec::PeekMut::pop from self to this parameter.
Since PeekMut implements Deref, it shouldn't have any methods of its
own.

See also: `std::collections::binary_heap::PeekMut::pop`
2025-09-14 08:16:05 -07:00
Marijn Schouten
ecdf220dbc vec tests: remove static mut 2025-06-19 11:39:21 +00:00
Jeremy Smart
9d19cbe29b update docs, test 2025-06-11 22:57:57 -04:00
Jeremy Smart
cc80429021 fix tests 2025-06-06 19:22:15 -04:00
Jeremy Smart
188c40126d add Vec::peek_mut 2025-06-04 18:15:12 -04:00
bjorn3
fb04372dc5 Move all alloc integration tests to a new alloctests crate 2025-03-07 19:11:11 +00:00