diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_ide/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide/src/lib.rs b/crates/ra_ide/src/lib.rs index 09f602fe1..12c005f06 100644 --- a/crates/ra_ide/src/lib.rs +++ b/crates/ra_ide/src/lib.rs | |||
@@ -296,7 +296,7 @@ impl Analysis { | |||
296 | file_id: frange.file_id, | 296 | file_id: frange.file_id, |
297 | edit: join_lines::join_lines(&parse.tree(), frange.range), | 297 | edit: join_lines::join_lines(&parse.tree(), frange.range), |
298 | }; | 298 | }; |
299 | SourceChange::source_file_edit("join lines", file_edit) | 299 | SourceChange::source_file_edit("Join lines", file_edit) |
300 | }) | 300 | }) |
301 | } | 301 | } |
302 | 302 | ||
@@ -490,7 +490,7 @@ impl Analysis { | |||
490 | ) -> Cancelable<Result<SourceChange, SsrError>> { | 490 | ) -> Cancelable<Result<SourceChange, SsrError>> { |
491 | self.with_db(|db| { | 491 | self.with_db(|db| { |
492 | let edits = ssr::parse_search_replace(query, parse_only, db)?; | 492 | let edits = ssr::parse_search_replace(query, parse_only, db)?; |
493 | Ok(SourceChange::source_file_edits("ssr", edits)) | 493 | Ok(SourceChange::source_file_edits("Structural Search Replace", edits)) |
494 | }) | 494 | }) |
495 | } | 495 | } |
496 | 496 | ||