summaryrefslogtreecommitdiffstats
path: root/src/poem/anthology/exit.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/poem/anthology/exit.rs')
-rw-r--r--src/poem/anthology/exit.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/poem/anthology/exit.rs b/src/poem/anthology/exit.rs
new file mode 100644
index 0000000..ecb14f1
--- /dev/null
+++ b/src/poem/anthology/exit.rs
@@ -0,0 +1,5 @@
+use std::process::exit;
+
+pub fn incant() -> i32 {
+ exit(0);
+}