From b8982717497c7359f4e68c1f3e8aac153c737398 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Wed, 15 Jul 2026 19:59:13 +0800 Subject: fix: set default type parameter for `Picker` struct Update doc examples to pass `String` instead of `&str` to `convert` --- mingling_picker/src/picker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mingling_picker/src/picker.rs') diff --git a/mingling_picker/src/picker.rs b/mingling_picker/src/picker.rs index eea9611..396b05e 100644 --- a/mingling_picker/src/picker.rs +++ b/mingling_picker/src/picker.rs @@ -17,7 +17,7 @@ use crate::{Pickable, PickerArgResult, PickerFlag}; /// - Basic arguments /// - Parsing states /// - Parsing results -pub struct Picker<'a, Route> { +pub struct Picker<'a, Route = ()> { route_phantom: PhantomData, /// Internal arguments of Picker -- cgit