MCPcopy 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
39impl<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

defaultFunction · 0.85
optimization_barrierFunction · 0.85
zeroizeMethod · 0.45
as_mutMethod · 0.45

Tested by

no test coverage detected