Get only the changed hunks from the old line.
(&self)
| 443 | |
| 444 | /// Get only the changed hunks from the old line. |
| 445 | pub fn old_changes(&self) -> impl Iterator<Item = &ChangeHunk> { |
| 446 | self.old_hunks.iter().filter(|s| s.is_change()) |
| 447 | } |
| 448 | |
| 449 | /// Get only the changed hunks from the new line. |
| 450 | pub fn new_changes(&self) -> impl Iterator<Item = &ChangeHunk> { |