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.

Fix compiler error

Joseph T. Lyonsb66e1d2d58b5
diff --git a/crates/feedback2/src/feedback_modal.rs b/crates/feedback2/src/feedback_modal.rs
index 865cbcc4de4..0cee05c8f8a 100644
--- a/crates/feedback2/src/feedback_modal.rs
+++ b/crates/feedback2/src/feedback_modal.rs
@@ -384,7 +384,7 @@ impl Render for FeedbackModal {
.on_click(cx.listener(|this, _, cx| {
let _ = this.submit(cx);
}))
- .tooltip(|cx| {
+ .tooltip(move |cx| {
Tooltip::with_meta(
"Submit feedback to the Zed team.",
None,