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.

Use existing convention to silence warnings

Joseph T. Lyons052e05fc7455
diff --git a/crates/feedback2/src/feedback_modal.rs b/crates/feedback2/src/feedback_modal.rs
index d1c6572f3e1..e6c4377186b 100644
--- a/crates/feedback2/src/feedback_modal.rs
+++ b/crates/feedback2/src/feedback_modal.rs
@@ -206,14 +206,16 @@ impl FeedbackModal {
if answer == Some(0) {
match email.clone() {
Some(email) => {
- let _ = KEY_VALUE_STORE
+ KEY_VALUE_STORE
.write_kvp(DATABASE_KEY_NAME.to_string(), email)
- .await;
+ .await
+ .ok();
}
None => {
- let _ = KEY_VALUE_STORE
+ KEY_VALUE_STORE
.delete_kvp(DATABASE_KEY_NAME.to_string())
- .await;
+ .await
+ .ok();
}
};