Start on maintaining edits in FragmentList

This commit is contained in:
Antonio Scandurra 2021-12-06 12:10:25 +01:00
parent 8f90d42723
commit 45d6f5ab04
4 changed files with 200 additions and 36 deletions

View file

@ -33,6 +33,10 @@ where
Self(edits)
}
pub fn edits(&self) -> &[Edit<T>] {
&self.0
}
pub fn into_inner(self) -> Vec<Edit<T>> {
self.0
}