blob: 969c9182178de9fd66bdfb3430e250955e3a6834 (
plain) (
tree)
|
|
## Exit
How to exit an application based on user input.
The __[`main`]__ file contains all the code of the example.
You can run it with `cargo run`:
```
cargo run --package exit
```
[`main`]: src/main.rs
|