mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Simplify proto conversion
Trait based infra in conv.rs is significantly more complicated than what we actually need here.
This commit is contained in:
parent
4578154b60
commit
1586bab0b9
8 changed files with 807 additions and 939 deletions
|
@ -75,6 +75,7 @@ impl TextEdit {
|
|||
self.indels.is_empty()
|
||||
}
|
||||
|
||||
// FXME: impl IntoIter instead
|
||||
pub fn as_indels(&self) -> &[Indel] {
|
||||
&self.indels
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue