Cleanup
This commit is contained in:
parent
00b7c78e33
commit
7c3dc1e3dc
2 changed files with 0 additions and 37 deletions
|
@ -77,9 +77,6 @@ impl BufferDiff {
|
|||
buffer: &'a BufferSnapshot,
|
||||
reversed: bool,
|
||||
) -> impl 'a + Iterator<Item = DiffHunk<u32>> {
|
||||
// let start = buffer.anchor_before(Point::new(query_row_range.start, 0));
|
||||
// let end = buffer.anchor_after(Point::new(query_row_range.end, 0));
|
||||
|
||||
let mut cursor = self.tree.filter::<_, DiffHunkSummary>(move |summary| {
|
||||
let before_start = summary.buffer_range.end.cmp(&range.start, buffer).is_lt();
|
||||
let after_end = summary.buffer_range.start.cmp(&range.end, buffer).is_gt();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue