Check if this hunk is adjacent to another hunk. Two hunks are adjacent if one ends where the other begins.
(&self, other: &Self)
| 255 | /// |
| 256 | /// Two hunks are adjacent if one ends where the other begins. |
| 257 | pub fn is_adjacent_to(&self, other: &Self) -> bool { |
| 258 | self.end == other.start || other.end == self.start |
| 259 | } |
| 260 | |
| 261 | /// Try to merge with another hunk of the same kind. |
| 262 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected