//! Secure wipe: zeroing that the compiler is not allowed to remove.
//!
//! An ordinary `fill(0)` on memory that is about to be freed or reused is a
//! dead store an optimiser may delete. Volatile writes are never removed, and
//! the compiler fence keeps later reuse of the memory from being reordered
//! before the wipe.
use ;
/// Overwrites `bytes` with zeros in a way the compiler cannot elide.
///
/// # Examples
///
/// ```
/// let mut secret = *b"hunter2";
/// store_io_buf::wipe(&mut secret);
/// assert_eq!(secret, [0; 7]);
/// ```