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.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/poem/anthology/exit.rs b/src/poem/anthology/exit.rs
index 46fe13c..6bbaa33 100644
--- a/src/poem/anthology/exit.rs
+++ b/src/poem/anthology/exit.rs
@@ -1,4 +1,5 @@
use std::process::exit;
+use std::process::Output;
/// exit
///
@@ -7,6 +8,6 @@ use std::process::exit;
/// # Aliases
/// * exit
/// * quit
-pub fn incant() -> i32 {
+pub fn incant() -> Output {
exit(0);
}