diff --git a/crates/gpui2/src/action.rs b/crates/gpui2/src/action.rs index a279c489c0ebbacb676cd81b62245ae379d587c6..bf03c87ae92bf56f158dd646f2a5848e5097ac92 100644 --- a/crates/gpui2/src/action.rs +++ b/crates/gpui2/src/action.rs @@ -14,11 +14,11 @@ use std::any::{Any, TypeId}; /// ```rust /// actions!(editor, [MoveUp, MoveDown, MoveLeft, MoveRight, Newline]); /// ``` -/// More complex data types can also be actions, providing they implement Clone, PartialEq, Debug, +/// More complex data types can also be actions, providing they implement Clone, PartialEq, /// and serde_derive::Deserialize. /// Use `impl_actions!` to automatically implement the action in the given namespace. /// ``` -/// #[derive(Clone, PartialEq, serde_derive::Deserialize, Debug)] +/// #[derive(Clone, PartialEq, serde_derive::Deserialize)] /// pub struct SelectNext { /// pub replace_newest: bool, /// } @@ -29,7 +29,7 @@ use std::any::{Any, TypeId}; /// macro, which only generates the code needed to register your action before `main`. /// /// ``` -/// #[derive(gpui::serde::Deserialize, std::cmp::PartialEq, std::clone::Clone, std::fmt::Debug)] +/// #[derive(gpui::serde::Deserialize, std::cmp::PartialEq, std::clone::Clone)] /// pub struct Paste { /// pub content: SharedString, /// }