mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
Use existing convention to silence warnings
This commit is contained in:
parent
7ba7b925ff
commit
052e05fc74
@ -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();
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user