14 ms·
Box::leak() will make a &'static. You can also use lazy_static! to dynamically make a static global constant.
by remram 4y ago
Box::leak() will make a &'static. You can also use lazy_static! to dynamically make a static global constant.
14 ms·