Suppress unused variable r-a warning from action derive procmacro
This commit is contained in:
@@ -38,6 +38,7 @@ pub fn action(input: TokenStream) -> TokenStream {
|
||||
|
||||
let build_impl = if is_unit_struct {
|
||||
quote! {
|
||||
let _ = value;
|
||||
Ok(std::boxed::Box::new(Self {}))
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user