Remove 2 suffix from gpui_macros, fix compile errors in tests
Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
parent
f5ba22659b
commit
83f4c61657
29 changed files with 71 additions and 1670 deletions
|
@ -1,11 +1,9 @@
|
|||
use gpui2::{actions, impl_actions};
|
||||
use gpui2_macros::register_action;
|
||||
use gpui::{actions, impl_actions};
|
||||
use gpui_macros::register_action;
|
||||
use serde_derive::Deserialize;
|
||||
|
||||
#[test]
|
||||
fn test_action_macros() {
|
||||
use gpui2 as gpui;
|
||||
|
||||
actions!(test, [TestAction]);
|
||||
|
||||
#[derive(PartialEq, Clone, Deserialize)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue