mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-08-02 05:02:01 -07:00
Fix grep match iterator.
This commit is contained in:
@@ -254,7 +254,7 @@ impl<'b, 's> Iterator for Iter<'b, 's> {
|
|||||||
self.start = self.buf.len();
|
self.start = self.buf.len();
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
self.start = mat.end + 1;
|
self.start = mat.end;
|
||||||
Some(mat)
|
Some(mat)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user