mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
reformat the world
This commit is contained in:
parent
5cb1d41a30
commit
12e3b4c70b
129 changed files with 727 additions and 2509 deletions
|
@ -15,10 +15,7 @@ pub struct AtomTextEdit {
|
|||
|
||||
impl AtomTextEdit {
|
||||
pub fn replace(range: TextRange, replace_with: String) -> AtomTextEdit {
|
||||
AtomTextEdit {
|
||||
delete: range,
|
||||
insert: replace_with,
|
||||
}
|
||||
AtomTextEdit { delete: range, insert: replace_with }
|
||||
}
|
||||
|
||||
pub fn delete(range: TextRange) -> AtomTextEdit {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue