diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-25 04:57:03 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-25 04:57:03 +0800 |
| commit | 85e5792e2d0b0c75eb4044c0450d60c07370afa4 (patch) | |
| tree | 52e282e49bbff7926b04892a9112f0826756fbc0 /mingling_macros | |
| parent | dd3a1476f6ba0a11a8a450cd3a1231ba0ce25c96 (diff) | |
Make `dispatcher_clap` help function public
Diffstat (limited to 'mingling_macros')
| -rw-r--r-- | mingling_macros/src/dispatcher_clap.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mingling_macros/src/dispatcher_clap.rs b/mingling_macros/src/dispatcher_clap.rs index 1c9db4b..5f06fb4 100644 --- a/mingling_macros/src/dispatcher_clap.rs +++ b/mingling_macros/src/dispatcher_clap.rs @@ -144,7 +144,7 @@ pub fn dispatcher_clap_attr(attr: TokenStream, item: TokenStream) -> TokenStream Some(quote! { #[allow(non_snake_case)] #[::mingling::macros::help] - fn #help_fn_name(_prev: #struct_name) { + pub fn #help_fn_name(_prev: #struct_name) { use std::io::Write; use clap::ColorChoice; |
