aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/res
diff options
context:
space:
mode:
Diffstat (limited to 'mingling/src/res')
-rw-r--r--mingling/src/res/exit_code.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/mingling/src/res/exit_code.rs b/mingling/src/res/exit_code.rs
index b483139..e90d067 100644
--- a/mingling/src/res/exit_code.rs
+++ b/mingling/src/res/exit_code.rs
@@ -24,6 +24,7 @@ where
/// Retrieves the globally stored exit code for the given `ProgramCollect` type.
/// Returns `0` if no exit code has been set.
+#[must_use]
pub fn exit_code<C>() -> i32
where
C: ProgramCollect<Enum = C> + 'static,