aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_text_edit
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-05-10 12:55:24 +0100
committerAleksey Kladov <[email protected]>2020-05-10 18:01:26 +0100
commit1586bab0b97bef411e6187dfc389557edbc5a16e (patch)
treef4d8b67d398ca663d003099be63da9ebb7652826 /crates/ra_text_edit
parent4578154b608fa075595103d0c933da60d55b25c8 (diff)
Simplify proto conversion
Trait based infra in conv.rs is significantly more complicated than what we actually need here.
Diffstat (limited to 'crates/ra_text_edit')
-rw-r--r--crates/ra_text_edit/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_text_edit/src/lib.rs b/crates/ra_text_edit/src/lib.rs
index 3409713ff..37f77cc47 100644
--- a/crates/ra_text_edit/src/lib.rs
+++ b/crates/ra_text_edit/src/lib.rs
@@ -75,6 +75,7 @@ impl TextEdit {
75 self.indels.is_empty() 75 self.indels.is_empty()
76 } 76 }
77 77
78 // FXME: impl IntoIter instead
78 pub fn as_indels(&self) -> &[Indel] { 79 pub fn as_indels(&self) -> &[Indel] {
79 &self.indels 80 &self.indels
80 } 81 }