diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-10 16:19:45 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-10 16:19:45 +0800 |
| commit | 2d0aae4b2d595ced100f7a2ec8d13b872a5eb65e (patch) | |
| tree | 9df306e1185470655f3ed43fad866cf02430160f /mingling_macros/src/func/dispatcher.rs | |
| parent | 61b770ca958afa7e5eca4c50f5e06bdf3ed7a94a (diff) | |
refactor: simplify macro parsing code and fix clippy warnings
Diffstat (limited to 'mingling_macros/src/func/dispatcher.rs')
| -rw-r--r-- | mingling_macros/src/func/dispatcher.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mingling_macros/src/func/dispatcher.rs b/mingling_macros/src/func/dispatcher.rs index d834c95..bbe1074 100644 --- a/mingling_macros/src/func/dispatcher.rs +++ b/mingling_macros/src/func/dispatcher.rs @@ -32,7 +32,7 @@ impl Parse for DispatcherChainInput { if input.is_empty() { #[cfg(feature = "extras")] { - return Ok(DispatcherChainInput::Auto { + return Ok(Self::Auto { cmd_attrs, command_name, }); |
