summaryrefslogblamecommitdiffstats
path: root/examples/exit/README.md
blob: 969c9182178de9fd66bdfb3430e250955e3a6834 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                           
## 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