()
| 61 | } |
| 62 | |
| 63 | fn main() { |
| 64 | // We must ensure that all destructors run (in particular, the console's destructor) before |
| 65 | // exiting. `process:exit` doesn't do that for us, so wrap the program's code into a separate |
| 66 | // function so that we can guarantee that the destructors have run here. |
| 67 | process::exit(safe_main()); |
| 68 | } |
nothing calls this directly
no test coverage detected