Skip to content

Commit 276e726

Browse files
committed
fix most of the tests
1 parent 5573529 commit 276e726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index/diff/delegate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ impl Delegate {
7575
.iter()
7676
.map(|&line| input.interner[line])
7777
.peekable();
78-
match (lines_before.peek().is_some(), lines_after.next().is_some()) {
78+
match (lines_before.peek().is_some(), lines_after.peek().is_some()) {
7979
(true, false) => {
8080
for removed in lines_before {
8181
match version_from_json_line(removed.as_bstr(), location) {

0 commit comments

Comments
 (0)