diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-25 13:29:08 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-25 13:29:08 +0800 |
| commit | 757b1e412c8617cacd8ba0e428554e7f44e9d0e8 (patch) | |
| tree | 976691ec144d3e3adbb88b337a4eeac63de76197 /mingling_macros/src/lib.rs | |
| parent | 85e5792e2d0b0c75eb4044c0450d60c07370afa4 (diff) | |
fix(dispatch_tree): use proper snake_case for dispatcher static names
Fix the static name generation for dispatch tree nodes to use a correct
snake_case conversion instead of a simple `.` to `_` replacement. Also
correct the `__comp` completion dispatcher name from triple underscore
to double underscore, resolving a mismatch between
`register_dispatcher!`
and `program_comp_gen`
Diffstat (limited to 'mingling_macros/src/lib.rs')
| -rw-r--r-- | mingling_macros/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mingling_macros/src/lib.rs b/mingling_macros/src/lib.rs index 2622af0..d08e129 100644 --- a/mingling_macros/src/lib.rs +++ b/mingling_macros/src/lib.rs @@ -1458,7 +1458,7 @@ pub fn program_comp_gen(_input: TokenStream) -> TokenStream { #[cfg(feature = "dispatch_tree")] let internal_dispatcher_comp = quote! { - use __internal_completion_mod::__internal_dispatcher___comp; + use __internal_completion_mod::__internal_dispatcher_comp; }; #[cfg(not(feature = "dispatch_tree"))] |
