From 2aa7bda3cb21ce6c052b82e08bcab79a625d04f2 Mon Sep 17 00:00:00 2001 From: Weicao-CatilGrass <1992414357@qq.com> Date: Sun, 31 May 2026 02:42:52 +0800 Subject: Enhance code quality across the entire codebase --- mingling/src/res/exit_code.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'mingling/src/res/exit_code.rs') 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() -> i32 where C: ProgramCollect + 'static, -- cgit