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

Function derive_zeroize_used_param

zeroize/tests/zeroize_derive.rs:367–372  ·  view source on GitHub ↗

Issue https://github.com/RustCrypto/utils/issues/878

()

Source from the content-addressed store, hash-verified

365#[allow(dead_code)]
366// Issue https://github.com/RustCrypto/utils/issues/878
367fn derive_zeroize_used_param() {
368 #[derive(Zeroize)]
369 struct Z<T> {
370 used: T,
371 }
372}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected