aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-05-06 10:20:09 +0100
committerGitHub <[email protected]>2020-05-06 10:20:09 +0100
commit18907e6cc52d53b8385a26f3080cd21a6167022b (patch)
treee529c5dd962948165c9806078027ff0e2d7a2e32 /crates/ra_ide
parent2c7f5b8d40290e09aeb042aef64506a3fa33146e (diff)
parentbeb35c3ecb4aa5139571aba70f7364d135302775 (diff)
Merge #4339
4339: Fix capitalization r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide')
-rw-r--r--crates/ra_ide/src/lib.rs4
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