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/collection.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mingling_core/src/program/collection.rs') diff --git a/mingling_core/src/program/collection.rs b/mingling_core/src/program/collection.rs index 2b3e9ec..438b800 100644 --- a/mingling_core/src/program/collection.rs +++ b/mingling_core/src/program/collection.rs @@ -36,7 +36,7 @@ pub trait ProgramCollect { /// Use a prefix tree to quickly match arguments and dispatch to an Entry #[cfg(feature = "dispatch_tree")] - fn dispatch_args_trie( + fn dispatch_args( raw: &[String], ) -> Result, crate::error::ProgramInternalExecuteError>; @@ -46,7 +46,7 @@ pub trait ProgramCollect { /// # Errors /// /// Returns an error if the program fails to execute the given arguments. - fn dispatch_args_trie( + fn dispatch_args( _raw: &[String], ) -> Result, crate::error::ProgramInternalExecuteError> { unreachable!() -- cgit