aboutsummaryrefslogtreecommitdiff
path: root/crates/ide
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2021-05-03 16:44:58 +0100
committerKirill Bulatov <[email protected]>2021-05-03 16:45:30 +0100
commit53a73de3d10e20a13153c94e050a8ad9230169eb (patch)
treec81670ec01d16b50c623904ef8a0275a33f3f220 /crates/ide
parent8089a227f4b40872cf8491cfb9e065a8b05705a2 (diff)
Small fixes
Diffstat (limited to 'crates/ide')
-rw-r--r--crates/ide/src/ssr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide/src/ssr.rs b/crates/ide/src/ssr.rs
index 97ad66d35..57ec80261 100644
--- a/crates/ide/src/ssr.rs
+++ b/crates/ide/src/ssr.rs
@@ -13,7 +13,7 @@ pub(crate) fn ssr_assists(
13 let mut ssr_assists = Vec::with_capacity(2); 13 let mut ssr_assists = Vec::with_capacity(2);
14 14
15 let (match_finder, comment_range) = match ide_ssr::ssr_from_comment(db, frange) { 15 let (match_finder, comment_range) = match ide_ssr::ssr_from_comment(db, frange) {
16 Some((match_finder, comment_range)) => (match_finder, comment_range), 16 Some(ssr_data) => ssr_data,
17 None => return ssr_assists, 17 None => return ssr_assists,
18 }; 18 };
19 let id = AssistId("ssr", AssistKind::RefactorRewrite); 19 let id = AssistId("ssr", AssistKind::RefactorRewrite);