()
| 62 | |
| 63 | #[test] |
| 64 | fn zeroize_on_drop_byte_arrays() { |
| 65 | let mut arr = [ZeroizedOnDrop(42); 1]; |
| 66 | unsafe { ptr::drop_in_place(&raw mut arr) }; |
| 67 | assert_eq!(arr.as_ref(), [ZeroizedOnDrop(0); 1].as_ref()); |
| 68 | } |
| 69 | |
| 70 | #[test] |
| 71 | fn zeroize_maybeuninit_byte_arrays() { |
nothing calls this directly
no test coverage detected