diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-10 16:52:19 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-10 16:52:19 +0800 |
| commit | 02e07a18fcb3af9319c271f6e41d5b7785e2e436 (patch) | |
| tree | ff76916c254e87a7aadc5cb4dfd2134eaf4f03fc /arg_picker/src/builtin/pick_flag.rs | |
| parent | 03b487f0f93ac32835149d4c1a0fb420341134f8 (diff) | |
style: satisfy clippy pedantic and nursery lints
Diffstat (limited to 'arg_picker/src/builtin/pick_flag.rs')
| -rw-r--r-- | arg_picker/src/builtin/pick_flag.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arg_picker/src/builtin/pick_flag.rs b/arg_picker/src/builtin/pick_flag.rs index b642a9a..8afc0fc 100644 --- a/arg_picker/src/builtin/pick_flag.rs +++ b/arg_picker/src/builtin/pick_flag.rs @@ -13,9 +13,9 @@ impl<'a> Pickable<'a> for Flag { fn pick(raw_strs: &[&str]) -> PickerArgResult<Self> { if raw_strs.is_empty() { - PickerArgResult::Parsed(Flag::Inactive) + PickerArgResult::Parsed(Self::Inactive) } else { - PickerArgResult::Parsed(Flag::Active) + PickerArgResult::Parsed(Self::Active) } } } |
