aboutsummaryrefslogtreecommitdiff
path: root/mingling_picker/src/picker.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-15 19:59:13 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-15 19:59:13 +0800
commitb8982717497c7359f4e68c1f3e8aac153c737398 (patch)
treedc5db5d622e8f1bcb8af9827b5782457f56af332 /mingling_picker/src/picker.rs
parent8b2bbdef88f47838ed0326f5c9cf86bac84babde (diff)
fix: set default type parameter for `Picker` struct
Update doc examples to pass `String` instead of `&str` to `convert`
Diffstat (limited to 'mingling_picker/src/picker.rs')
-rw-r--r--mingling_picker/src/picker.rs2
1 files changed, 1 insertions, 1 deletions
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<Route>,
/// Internal arguments of Picker