mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
Stop using an Arc when setting the file text
This commit is contained in:
parent
02b6c181dd
commit
0f43b55e83
11 changed files with 21 additions and 24 deletions
|
@ -48,7 +48,7 @@ impl ChangeWithProcMacros {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn change_file(&mut self, file_id: FileId, new_text: Option<Arc<str>>) {
|
||||
pub fn change_file(&mut self, file_id: FileId, new_text: Option<String>) {
|
||||
self.source_change.change_file(file_id, new_text)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue