Check if this replacement has any effect.
(&self)
| 344 | |
| 345 | /// Check if this replacement has any effect. |
| 346 | pub fn is_empty(&self) -> bool { |
| 347 | self.old_len == 0 && self.new_len == 0 |
| 348 | } |
| 349 | |
| 350 | /// Get the range of lines affected in the old sequence. |
| 351 | pub fn old_range(&self) -> Range<usize> { |
no outgoing calls
no test coverage detected