Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/utils
/ drop
Method
drop
zeroize/tests/alloc.rs:40–42 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
38
39
impl<S: Zeroize> Drop for SecretBox<S> {
40
fn drop(&mut self) {
41
self.0.as_mut().zeroize();
42
}
43
}
44
45
#[test]
Callers
nothing calls this directly
Calls
4
default
Function · 0.85
optimization_barrier
Function · 0.85
zeroize
Method · 0.45
as_mut
Method · 0.45
Tested by
no test coverage detected