2 ms·
Any time you do Box::new() you are allocating memory. There is no way do report allocation failure from that - the program will panic.
by rkangel 11y ago
Any time you do Box::new() you are allocating memory. There is no way do report allocation failure from that - the program will panic.