From 3f90ae7c987b16d485a2fb4e9f9bcb3774d37530 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Tue, 14 Jul 2026 02:24:11 +0800 Subject: refactor: rename PickerArguments to PickerArgs and PickerRequirement to PickerFlag --- mingling_picker/src/requirement.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mingling_picker/src/requirement.rs') diff --git a/mingling_picker/src/requirement.rs b/mingling_picker/src/requirement.rs index 564ae45..0b351f8 100644 --- a/mingling_picker/src/requirement.rs +++ b/mingling_picker/src/requirement.rs @@ -22,7 +22,7 @@ use std::marker::PhantomData; /// /// - `_type`: PhantomData to hold the type parameter. #[derive(Default, Clone, Copy)] -pub struct PickerRequirement<'a, Type> +pub struct PickerFlag<'a, Type> where Type: Default + Pickable, { @@ -39,11 +39,11 @@ where pub internal_type: PhantomData, } -impl<'a, Type> PickerRequirement<'a, Type> +impl<'a, Type> PickerFlag<'a, Type> where Type: Default + Pickable, { - /// Creates a new `PickerRequirement` with the provided parameters. + /// Creates a new `PickerFlag` with the provided parameters. pub fn new(full: &'a [&'a str], short: Option, positional: bool) -> Self { Self { full, -- cgit