Polish actions macros

This commit is contained in:
Nathan Sobo 2023-11-09 11:57:13 -07:00
parent 72de5cb6ce
commit f5f9d881d7
4 changed files with 19 additions and 11 deletions

View file

@ -145,8 +145,7 @@ macro_rules! actions {
() => {};
( $name:ident ) => {
#[gpui::register_action]
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug, ::std::cmp::PartialEq, $crate::serde::Deserialize)]
#[gpui::action]
pub struct $name;
};