Compute minimal version_in_range on edit and account for undo

This commit is contained in:
Antonio Scandurra 2021-04-09 10:07:58 +02:00
parent c20935de91
commit 7b6fbe1d89
2 changed files with 27 additions and 24 deletions

View file

@ -77,7 +77,7 @@ where
}
}
fn item_summary(&self) -> Option<&'a T::Summary> {
pub fn item_summary(&self) -> Option<&'a T::Summary> {
assert!(self.did_seek, "Must seek before calling this method");
if let Some(entry) = self.stack.last() {
match *entry.tree.0 {