Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/utils
/ PanicOnNonZeroDrop
Class
PanicOnNonZeroDrop
zeroize/tests/zeroize.rs:133–133 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
131
fn zeroize_vec_entire_capacity() {
132
#[derive(Clone)]
133
struct PanicOnNonZeroDrop(u64);
134
135
impl Zeroize for PanicOnNonZeroDrop {
136
fn zeroize(&mut self) {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected