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

Class X

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

Source from the content-addressed store, hash-verified

250fn derive_inherit_zeroize_on_drop() {
251 #[derive(ZeroizeOnDrop)]
252 struct X([u8; 3]);
253
254 #[derive(ZeroizeOnDrop)]
255 struct Z(X);

Callers 4

derive_inherit_from_bothFunction · 0.85
derive_inherit_bothFunction · 0.85
derive_derefFunction · 0.85

Calls

no outgoing calls

Tested by 4

derive_inherit_from_bothFunction · 0.68
derive_inherit_bothFunction · 0.68
derive_derefFunction · 0.68