Check if this is a true replacement (both deletion and insertion).
(&self)
| 339 | |
| 340 | /// Check if this is a true replacement (both deletion and insertion). |
| 341 | pub fn is_true_replace(&self) -> bool { |
| 342 | self.old_len > 0 && self.new_len > 0 |
| 343 | } |
| 344 | |
| 345 | /// Check if this replacement has any effect. |
| 346 | pub fn is_empty(&self) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected