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.

workspace: Fix broken main build after #43518 (#43570)

Piotr Osiewicz6b92c1a47bbf
diff --git a/crates/workspace/src/notifications.rs b/crates/workspace/src/notifications.rs
index 75c35cda22d..cfdc730b4db 100644
--- a/crates/workspace/src/notifications.rs
+++ b/crates/workspace/src/notifications.rs
@@ -789,7 +789,7 @@ pub mod simple_message_notification {
.track_scroll(&self.scroll_handle.clone())
.child((self.build_content)(window, cx)),
)
- .vertical_scrollbar_for(self.scroll_handle.clone(), window, cx),
+ .vertical_scrollbar_for(&self.scroll_handle, window, cx),
)
.show_close_button(self.show_close_button)
.show_suppress_button(self.show_suppress_button)