Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 20
Why is `Box::leak` sometimes used deliberately?
A
To obtain a &'static mut T for data that should live for the rest of the program (config, interned data)
B
To free memory faster
C
To share data across processes
D
To make Box Copy