Get only the changed hunks from the new line.
(&self)
| 448 | |
| 449 | /// Get only the changed hunks from the new line. |
| 450 | pub fn new_changes(&self) -> impl Iterator<Item = &ChangeHunk> { |
| 451 | self.new_hunks.iter().filter(|s| s.is_change()) |
| 452 | } |
| 453 | |
| 454 | /// Count the number of changed hunks in the old line. |
| 455 | pub fn old_change_count(&self) -> usize { |