From 4c191b2b46a67a0dda6e9a867b40f45156af4f9c Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 17 Aug 2026 01:35:00 +0800 Subject: refactor!: rename dispatch_args_trie to dispatch_args --- mingling_core/src/program.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mingling_core/src/program.rs') diff --git a/mingling_core/src/program.rs b/mingling_core/src/program.rs index 86e3e83..7bafe72 100644 --- a/mingling_core/src/program.rs +++ b/mingling_core/src/program.rs @@ -207,12 +207,12 @@ where /// Use a prefix tree to quickly match arguments and dispatch to an Entry #[cfg(feature = "dispatch_tree")] - pub fn dispatch_args_trie( + pub fn dispatch_args( &'static self, args: impl Into, ) -> Result, ChainProcessError> { let string_vec: Vec = args.into().into(); - match C::dispatch_args_trie(&string_vec) { + match C::dispatch_args(&string_vec) { Ok(ok) => Ok(ok), Err(e) => Err(e.into()), } -- cgit