Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add missing derive Element

Nate Butlercaa0eb6e2927
diff --git a/crates/ui2/src/components/notification.rs b/crates/ui2/src/components/notification.rs
index a934262d19b..31e7af410f5 100644
--- a/crates/ui2/src/components/notification.rs
+++ b/crates/ui2/src/components/notification.rs
@@ -10,6 +10,7 @@ use crate::{
/// that requires them to take action.
///
/// To simply convey information, use a Status.
+#[derive(Element)]
pub struct NotificationToast<S: 'static + Send + Sync + Clone> {
state_type: PhantomData<S>,
left_icon: Option<Icon>,
diff --git a/crates/ui2/src/components/notification_project_share.rs b/crates/ui2/src/components/notification_project_share.rs
deleted file mode 100644
index e69de29bb2d..00000000000