Check if this operation represents a change (not equal).
(&self)
| 169 | |
| 170 | /// Check if this operation represents a change (not equal). |
| 171 | pub fn is_change(&self) -> bool { |
| 172 | !self.is_equal() |
| 173 | } |
| 174 | |
| 175 | /// Get the range of lines affected in the old sequence. |
| 176 | pub fn old_range(&self) -> Range<usize> { |