diff options
Diffstat (limited to 'crates/ra_ide/src/lib.rs')
-rw-r--r-- | crates/ra_ide/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/lib.rs b/crates/ra_ide/src/lib.rs index a56718d3f..28f686767 100644 --- a/crates/ra_ide/src/lib.rs +++ b/crates/ra_ide/src/lib.rs | |||
@@ -503,7 +503,7 @@ impl Analysis { | |||
503 | ) -> Cancelable<Result<SourceChange, SsrError>> { | 503 | ) -> Cancelable<Result<SourceChange, SsrError>> { |
504 | self.with_db(|db| { | 504 | self.with_db(|db| { |
505 | let edits = ssr::parse_search_replace(query, parse_only, db)?; | 505 | let edits = ssr::parse_search_replace(query, parse_only, db)?; |
506 | Ok(SourceChange::source_file_edits(edits)) | 506 | Ok(SourceChange::from(edits)) |
507 | }) | 507 | }) |
508 | } | 508 | } |
509 | 509 | ||