diff options
| -rw-r--r-- | mingling_macros/src/help.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mingling_macros/src/help.rs b/mingling_macros/src/help.rs index 341f340..2721bf5 100644 --- a/mingling_macros/src/help.rs +++ b/mingling_macros/src/help.rs @@ -128,7 +128,7 @@ pub fn help_attr(item: TokenStream) -> TokenStream { } // Call the wrapper function - help_wrapper(#prev_param, r); + help_wrapper(#prev_param, __renderer_inner_result); } } @@ -154,7 +154,7 @@ fn build_help_entry(struct_name: &Ident, entry_type: &TypePath) -> proc_macro2:: // SAFETY: The member_id check ensures that `any` contains a value of type `#entry_type`, // so downcasting to `#entry_type` is safe. let value = unsafe { any.downcast::<#entry_type>().unwrap_unchecked() }; - <#struct_name as ::mingling::HelpRequest>::render_help(value, r); + <#struct_name as ::mingling::HelpRequest>::render_help(value, __renderer_inner_result); } } } |
