Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ drop
Method
drop
crates/common/src/boxvec.rs:20–24 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
18
19
impl<T> Drop for BoxVec<T> {
20
fn drop(&mut self) {
21
self.clear();
22
23
// MaybeUninit inhibits array's drop
24
}
25
}
26
27
macro_rules! panic_oob {
Callers
nothing calls this directly
Calls
9
set_len
Method · 0.80
get_unchecked_ptr
Method · 0.80
as_mut_ptr
Method · 0.80
copy
Function · 0.50
clear
Method · 0.45
len
Method · 0.45
as_mut
Method · 0.45
add
Method · 0.45
as_ptr
Method · 0.45
Tested by
no test coverage detected