mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
hide atom edits a bit
This commit is contained in:
parent
164d53b22f
commit
0063f03e86
5 changed files with 24 additions and 12 deletions
|
@ -520,7 +520,7 @@ impl SourceChange {
|
|||
pub(crate) fn from_local_edit(file_id: FileId, label: &str, edit: LocalEdit) -> SourceChange {
|
||||
let file_edit = SourceFileEdit {
|
||||
file_id,
|
||||
edits: edit.edit.into_atoms(),
|
||||
edit: edit.edit,
|
||||
};
|
||||
SourceChange {
|
||||
label: label.to_string(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue