mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Fix capitalization
This commit is contained in:
parent
2c7f5b8d40
commit
beb35c3ecb
1 changed files with 2 additions and 2 deletions
|
@ -296,7 +296,7 @@ impl Analysis {
|
||||||
file_id: frange.file_id,
|
file_id: frange.file_id,
|
||||||
edit: join_lines::join_lines(&parse.tree(), frange.range),
|
edit: join_lines::join_lines(&parse.tree(), frange.range),
|
||||||
};
|
};
|
||||||
SourceChange::source_file_edit("join lines", file_edit)
|
SourceChange::source_file_edit("Join lines", file_edit)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -490,7 +490,7 @@ impl Analysis {
|
||||||
) -> Cancelable<Result<SourceChange, SsrError>> {
|
) -> Cancelable<Result<SourceChange, SsrError>> {
|
||||||
self.with_db(|db| {
|
self.with_db(|db| {
|
||||||
let edits = ssr::parse_search_replace(query, parse_only, db)?;
|
let edits = ssr::parse_search_replace(query, parse_only, db)?;
|
||||||
Ok(SourceChange::source_file_edits("ssr", edits))
|
Ok(SourceChange::source_file_edits("Structural Search Replace", edits))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue