mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2024-12-07 11:13:17 +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…
Reference in New Issue
Block a user