aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorJeremy Kolb <[email protected]>2020-07-15 13:17:48 +0100
committerJeremy Kolb <[email protected]>2020-07-15 13:17:48 +0100
commit6a7d1d4412cd1047f309605156ea9f6cd8f3d997 (patch)
tree74200675d4783ba1fd806f2a0c77fe4ca4ff608f /crates
parent26725fcfbb6d9e7579d5d1e78b0fcc3f3d0c0467 (diff)
Invert condition
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/src/handlers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/handlers.rs b/crates/rust-analyzer/src/handlers.rs
index 357d5f8ca..2b37d7825 100644
--- a/crates/rust-analyzer/src/handlers.rs
+++ b/crates/rust-analyzer/src/handlers.rs
@@ -749,7 +749,7 @@ fn handle_fixes(
749 749
750 match &params.context.only { 750 match &params.context.only {
751 Some(v) => { 751 Some(v) => {
752 if v.iter().any(|it| { 752 if !v.iter().any(|it| {
753 it == &lsp_types::CodeActionKind::EMPTY 753 it == &lsp_types::CodeActionKind::EMPTY
754 || it == &lsp_types::CodeActionKind::QUICKFIX 754 || it == &lsp_types::CodeActionKind::QUICKFIX
755 }) { 755 }) {