Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Suppress unused variable r-a warning from action derive procmacro
Kirill Bulatov2a82dff2fea5
diff --git a/crates/gpui2_macros/src/action.rs b/crates/gpui2_macros/src/action.rsindex abc75a87598..296e3f08b12 100644--- a/crates/gpui2_macros/src/action.rs+++ b/crates/gpui2_macros/src/action.rs@@ -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 {