2 ms·Full example of a Rust program that leaks memory: `fn main() { Box::leak(Box::new(0)); }`by Taywee 4y agoFull example of a Rust program that leaks memory: `fn main() { Box::leak(Box::new(0)); }`