Check if there are any changes. Returns `true` if any operation is not Equal. # Example ```rust use atomic_core::diff::word::word_diff; let same = word_diff(b"hello", b"hello"); assert!(!same.has_changes()); let different = word_diff(b"hello", b"world"); assert!(different.has_changes()); ```
(&self)
| 347 | /// assert!(different.has_changes()); |
| 348 | /// ``` |
| 349 | pub fn has_changes(&self) -> bool { |
| 350 | self.ops.iter().any(|op| op.is_change()) |
| 351 | } |
| 352 | |
| 353 | /// Check if the sequences are identical. |
| 354 | /// |
no test coverage detected