(input: proc_macro::TokenStream)
| 32 | /// - `#[zeroize(skip)]`: skips this field or variant when calling `zeroize()` |
| 33 | #[proc_macro_derive(Zeroize, attributes(zeroize))] |
| 34 | pub fn derive_zeroize(input: proc_macro::TokenStream) -> proc_macro::TokenStream { |
| 35 | derive_zeroize_impl(syn::parse_macro_input!(input as DeriveInput)).into() |
| 36 | } |
| 37 | |
| 38 | fn derive_zeroize_impl(input: DeriveInput) -> TokenStream { |
| 39 | let attributes = ZeroizeAttrs::parse(&input); |
nothing calls this directly
no test coverage detected