MCPcopy Create free account
hub / github.com/Lokathor/tinyvec / ArrayVec_remove_invalid

Function ArrayVec_remove_invalid

tests/arrayvec.rs:148–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146#[test]
147#[should_panic]
148fn ArrayVec_remove_invalid() {
149 let mut av: ArrayVec<[i32; 1]> = Default::default();
150 av.push(1);
151 av.remove(1);
152}
153
154#[test]
155fn ArrayVec_swap_remove() {

Callers

nothing calls this directly

Calls 2

pushMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected