Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix variable name
Joseph T. Lyons1ad1cc114871
diff --git a/crates/feedback2/src/feedback_modal.rs b/crates/feedback2/src/feedback_modal.rsindex 92ecd8d930d..e5c1ccdc9d1 100644--- a/crates/feedback2/src/feedback_modal.rs+++ b/crates/feedback2/src/feedback_modal.rs@@ -53,7 +53,7 @@ pub struct FeedbackModal {email_address_editor: View<Editor>,awaiting_submission: bool,user_submitted: bool,- discarded: bool,+ user_discarded: bool,character_count: i32,}@@ -71,7 +71,7 @@ impl ModalView for FeedbackModal {return true;}- if self.discarded {+ if self.user_discarded {return true;}@@ -85,7 +85,7 @@ impl ModalView for FeedbackModal {cx.spawn(move |this, mut cx| async move {if answer.await.ok() == Some(0) {this.update(&mut cx, |this, cx| {- this.discarded = true;+ this.user_discarded = true;cx.emit(DismissEvent)}).log_err();@@ -184,7 +184,7 @@ impl FeedbackModal {email_address_editor,awaiting_submission: false,user_submitted: false,- discarded: false,+ user_discarded: false,character_count: 0,}}