aboutsummaryrefslogtreecommitdiff
path: root/arg_picker
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-03 16:29:53 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-03 16:29:53 +0800
commit3bdd2a8ca23c58673fdd715394e0c804c88dead5 (patch)
treef9349b2c24b51154cbbc8828323d624880c8c9f1 /arg_picker
parent4399302720b4d0dc58fa424a4f1f4654e4671403 (diff)
feat: use Pickable trait for value conversion
Diffstat (limited to 'arg_picker')
-rw-r--r--arg_picker/src/arg.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/arg_picker/src/arg.rs b/arg_picker/src/arg.rs
index 0b5176d..32824ea 100644
--- a/arg_picker/src/arg.rs
+++ b/arg_picker/src/arg.rs
@@ -1,4 +1,4 @@
-use crate::{Pickable, PickerArgInfo, SinglePickable, parselib::ParserStyle};
+use crate::{Pickable, PickerArgInfo, parselib::ParserStyle};
use std::marker::PhantomData;
/// Represents a constraint definition for a parameter selection.
@@ -166,7 +166,7 @@ where
impl<'a, Type> From<PickerArg<'a, Type>> for Vec<String>
where
- Type: SinglePickable,
+ Type: Pickable<'a>,
{
fn from(value: PickerArg<'a, Type>) -> Self {
let mut result = Vec::new();