aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_assists/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ide_assists/src/lib.rs')
-rw-r--r--crates/ide_assists/src/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/ide_assists/src/lib.rs b/crates/ide_assists/src/lib.rs
index 16af72927..331a6df2b 100644
--- a/crates/ide_assists/src/lib.rs
+++ b/crates/ide_assists/src/lib.rs
@@ -47,14 +47,14 @@ impl AssistKind {
47 } 47 }
48 48
49 match self { 49 match self {
50 AssistKind::None | AssistKind::Generate => return true, 50 AssistKind::None | AssistKind::Generate => true,
51 AssistKind::Refactor => match other { 51 AssistKind::Refactor => match other {
52 AssistKind::RefactorExtract 52 AssistKind::RefactorExtract
53 | AssistKind::RefactorInline 53 | AssistKind::RefactorInline
54 | AssistKind::RefactorRewrite => return true, 54 | AssistKind::RefactorRewrite => true,
55 _ => return false, 55 _ => false,
56 }, 56 },
57 _ => return false, 57 _ => false,
58 } 58 }
59 } 59 }
60 60