Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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]
148
fn ArrayVec_remove_invalid() {
149
let mut av: ArrayVec<[i32; 1]> = Default::default();
150
av.push(1);
151
av.remove(1);
152
}
153
154
#[test]
155
fn ArrayVec_swap_remove() {
Callers
nothing calls this directly
Calls
2
push
Method · 0.45
remove
Method · 0.45
Tested by
no test coverage detected