Simplify proto conversion

Trait based infra in conv.rs is significantly more complicated than
what we actually need here.
This commit is contained in:
Aleksey Kladov 2020-05-10 13:55:24 +02:00
parent 4578154b60
commit 1586bab0b9
8 changed files with 807 additions and 939 deletions

View file

@ -75,6 +75,7 @@ impl TextEdit {
self.indels.is_empty()
}
// FXME: impl IntoIter instead
pub fn as_indels(&self) -> &[Indel] {
&self.indels
}