Returns an iterator over changes that affect old content.
(&self)
| 200 | |
| 201 | /// Returns an iterator over changes that affect old content. |
| 202 | pub fn old_changes(&self) -> impl Iterator<Item = &LineChange> { |
| 203 | self.changes.iter().filter(|c| c.kind().affects_old()) |
| 204 | } |
| 205 | |
| 206 | /// Returns an iterator over changes that affect new content. |
| 207 | pub fn new_changes(&self) -> impl Iterator<Item = &LineChange> { |
nothing calls this directly
no test coverage detected