mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Fix TODO
This commit is contained in:
parent
4de3c3eedc
commit
1116c9a0e9
3 changed files with 17 additions and 19 deletions
|
@ -71,6 +71,10 @@ impl TextEdit {
|
|||
TextEdit { indels }
|
||||
}
|
||||
|
||||
pub fn is_empty(&self) -> bool {
|
||||
self.indels.is_empty()
|
||||
}
|
||||
|
||||
pub fn as_indels(&self) -> &[Indel] {
|
||||
&self.indels
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue