summaryrefslogtreecommitdiffstats
path: root/examples/exit/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'examples/exit/README.md')
-rw-r--r--examples/exit/README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/exit/README.md b/examples/exit/README.md
new file mode 100644
index 00000000..969c9182
--- /dev/null
+++ b/examples/exit/README.md
@@ -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