diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-05-07 22:25:38 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-05-07 22:25:38 +0800 |
| commit | 3fd12ea50e0f7e041182658d35a9dc72abf86464 (patch) | |
| tree | 30d214bea3e63af499eb9211607ad116bfa083c0 /mingling_macros/src | |
| parent | 823e4ec91a85ea53066832ac25d4d18767e6b6d3 (diff) | |
Make the generated static dispatcher item public
Diffstat (limited to 'mingling_macros/src')
| -rw-r--r-- | mingling_macros/src/dispatcher.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mingling_macros/src/dispatcher.rs b/mingling_macros/src/dispatcher.rs index f9dc423..915f5db 100644 --- a/mingling_macros/src/dispatcher.rs +++ b/mingling_macros/src/dispatcher.rs @@ -219,7 +219,7 @@ pub fn register_dispatcher(input: TokenStream) -> TokenStream { let expanded = quote! { #[doc(hidden)] #[allow(nonstandard_style)] - static #static_ident: #dispatcher_type = #dispatcher_type; + pub static #static_ident: #dispatcher_type = #dispatcher_type; }; expanded.into() |
