Allow Sandbox applications to exit.
This commit is contained in:
parent
5466d6a11d
commit
8a70d10401
5 changed files with 107 additions and 0 deletions
12
examples/exit/README.md
Normal file
12
examples/exit/README.md
Normal file
|
|
@ -0,0 +1,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
|
||||
Loading…
Add table
Add a link
Reference in a new issue