Returns an iterator over changes that affect new content.
(&self)
| 205 | |
| 206 | /// Returns an iterator over changes that affect new content. |
| 207 | pub fn new_changes(&self) -> impl Iterator<Item = &LineChange> { |
| 208 | self.changes.iter().filter(|c| c.kind().affects_new()) |
| 209 | } |
| 210 | |
| 211 | /// Consumes the analysis and returns the changes. |
| 212 | pub fn into_changes(self) -> Vec<LineChange> { |
nothing calls this directly
no test coverage detected