From 1586bab0b97bef411e6187dfc389557edbc5a16e Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 10 May 2020 13:55:24 +0200 Subject: Simplify proto conversion Trait based infra in conv.rs is significantly more complicated than what we actually need here. --- crates/ra_text_edit/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ra_text_edit/src') 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 { self.indels.is_empty() } + // FXME: impl IntoIter instead pub fn as_indels(&self) -> &[Indel] { &self.indels } -- cgit v1.2.3