mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
rename Edit to TextEdit and AtomEdit to AtomTextEdit
This commit is contained in:
parent
7344d28768
commit
0527e3b283
11 changed files with 92 additions and 87 deletions
|
@ -19,7 +19,7 @@ pub mod mock_analysis;
|
|||
use std::{fmt, sync::Arc};
|
||||
|
||||
use ra_syntax::{SourceFileNode, TextRange, TextUnit};
|
||||
use ra_text_edit::AtomEdit;
|
||||
use ra_text_edit::AtomTextEdit;
|
||||
use ra_db::FileResolverImp;
|
||||
use rayon::prelude::*;
|
||||
use relative_path::RelativePathBuf;
|
||||
|
@ -121,7 +121,7 @@ pub struct SourceChange {
|
|||
#[derive(Debug)]
|
||||
pub struct SourceFileNodeEdit {
|
||||
pub file_id: FileId,
|
||||
pub edits: Vec<AtomEdit>,
|
||||
pub edits: Vec<AtomTextEdit>,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue