mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-02-14 22:23:24 +02:00
Fix grep match iterator.
This commit is contained in:
parent
5938bed339
commit
af3b56a623
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user