aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-04 17:09:53 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-04 17:09:53 +0800
commit0243b0c794dde79bce0816f1d52461ae0fc96f9d (patch)
tree46f4761c547d0dfd55251c96b988fc356fa0dc62
parenta97f8d32a856ae72d128ed61aebfb20709b7d4b9 (diff)
feat(flags): derive PartialEq and Eq for ShellFlag
-rw-r--r--mingling_core/src/comp/flags.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mingling_core/src/comp/flags.rs b/mingling_core/src/comp/flags.rs
index 9a88d2e..8aecf1b 100644
--- a/mingling_core/src/comp/flags.rs
+++ b/mingling_core/src/comp/flags.rs
@@ -4,7 +4,7 @@ use just_fmt::snake_case;
///
/// This enum defines the supported shell types that can be used for
/// generating shell-specific command syntax, scripts, or completions.
-#[derive(Default, Debug, Clone)]
+#[derive(Default, Debug, Clone, PartialEq, Eq)]
#[cfg_attr(feature = "structural_renderer", derive(serde::Serialize))]
pub enum ShellFlag {
/// Represents the Bash shell.