1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-06-30 22:23:44 +02:00

Fix deps so that others can build it.

This commit is contained in:
Andrew Gallant
2016-09-05 18:22:12 -04:00
parent 7a149c20fe
commit 2bda77c414
6 changed files with 214 additions and 16 deletions

View File

@ -329,7 +329,7 @@ impl<'a, R: io::Read, W: Send + io::Write> Searcher<'a, R, W> {
self.count_lines(start);
self.add_line(end);
self.printer.matched(
&self.grep.regex(), &self.path,
self.grep.regex(), &self.path,
&self.inp.buf, start, end, self.line_count);
self.last_printed = end;
self.after_context_remaining = self.opts.after_context;