()
| 74 | |
| 75 | #[test] |
| 76 | fn zeroize_on_drop_byte_arrays() { |
| 77 | let mut arr = [ZeroizedOnDrop(42); 1]; |
| 78 | unsafe { ptr::drop_in_place(&raw mut arr) }; |
| 79 | assert_eq!(arr.as_ref(), [ZeroizedOnDrop(0); 1].as_ref()); |
| 80 | } |
| 81 | |
| 82 | #[test] |
| 83 | fn zeroize_maybeuninit_byte_arrays() { |
nothing calls this directly
no test coverage detected