mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-01-19 05:49:14 +02:00
fix: fix test fail
This commit is contained in:
parent
93c220bf57
commit
bffc125455
@ -51,8 +51,7 @@ where
|
||||
}
|
||||
|
||||
fn consumed_remain(&mut self) {
|
||||
let buf = &self.rdr.buffer()[0..self.core.pos()];
|
||||
let consumed = self.core.roll(buf);
|
||||
let consumed = self.core.pos();
|
||||
self.rdr.consume(consumed);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user