mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-01 06:24:37 +03:00
Suppress unused variable r-a warning from action derive procmacro
This commit is contained in:
parent
646b74e0a7
commit
2a82dff2fe
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user