diff options
Diffstat (limited to 'crates/ide/src')
-rw-r--r-- | crates/ide/src/ssr.rs | 2 |
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); |