MCPcopy Create free account
hub / github.com/RustCrypto/utils / PanicOnNonZeroDrop

Class PanicOnNonZeroDrop

zeroize/tests/zeroize.rs:121–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119fn zeroize_vec_entire_capacity() {
120 #[derive(Clone)]
121 struct PanicOnNonZeroDrop(u64);
122
123 impl Zeroize for PanicOnNonZeroDrop {
124 fn zeroize(&mut self) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected