From 3a58dc5cea258fb81e8443496f9dac309d11448c Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 7 May 2026 22:14:36 +0800 Subject: Add compile-time dispatch tree generation for O(len) command routing --- mingling_core/src/program.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'mingling_core') diff --git a/mingling_core/src/program.rs b/mingling_core/src/program.rs index df5b285..a28e9b7 100644 --- a/mingling_core/src/program.rs +++ b/mingling_core/src/program.rs @@ -419,6 +419,7 @@ macro_rules! __dispatch_program_chains { } /// Get all registered dispatcher names from the program +#[allow(unused_variables)] pub fn get_nodes>( program: &'static Program, ) -> Vec<(String, &'static (dyn Dispatcher + Send + Sync + 'static))> { -- cgit