summaryrefslogtreecommitdiff
path: root/mingling_core
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-04-01 20:18:24 +0800
committer魏曹先生 <1992414357@qq.com>2026-04-01 20:18:24 +0800
commit7785c514137d99b1584d7b158015587a18f76525 (patch)
treee0aedcdb91d97e8e3a3fe19b963d8cf10f072a58 /mingling_core
parentf1ed18e668a830646fe507ee33c4b010a1690342 (diff)
Add allow attribute for clippy::type_complexity lint
Diffstat (limited to 'mingling_core')
-rw-r--r--mingling_core/src/program/exec.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/mingling_core/src/program/exec.rs b/mingling_core/src/program/exec.rs
index 9c80c4a..29cfa1d 100644
--- a/mingling_core/src/program/exec.rs
+++ b/mingling_core/src/program/exec.rs
@@ -68,6 +68,7 @@ where
}
/// Match user input against registered dispatchers and return the matched dispatcher and remaining arguments.
+#[allow(clippy::type_complexity)]
fn match_user_input<C, G>(
program: &Program<C, G>,
) -> Result<(&Box<dyn Dispatcher<G>>, Vec<String>), ProgramInternalExecuteError>