Suppress unused variable r-a warning from action derive procmacro

This commit is contained in:
Kirill Bulatov
2023-12-07 16:08:47 +02:00
parent 646b74e0a7
commit 2a82dff2fe
+1
View File
@@ -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 {