mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-06-30 22:23:44 +02:00
fix: fix test fail
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user