Get the edit distance (total changes = insertions + deletions).
(&self)
| 448 | |
| 449 | /// Get the edit distance (total changes = insertions + deletions). |
| 450 | pub fn edit_distance(&self) -> usize { |
| 451 | self.insertions() + self.deletions() |
| 452 | } |
| 453 | |
| 454 | /// Iterate over all operations. |
| 455 | pub fn iter(&self) -> impl Iterator<Item = &DiffOp> { |
nothing calls this directly
no test coverage detected