macro_rules! obliviate {
    ($memory:expr) => { ... };
}
Expand description

Alias for Drop::drop.

Examples

Drop the return value of an expression:

obliviate!(vec![0; 5]);

Drop a variable:

let x = vec![0; 5];
obliviate!(x);
// no longer possible to reference x
println!("{x:?}");