Rename enum field

This commit is contained in:
sharkdp
2020-03-21 16:51:38 +01:00
committed by David Peter
parent 06b7be7ee9
commit 4855a47105
2 changed files with 9 additions and 9 deletions

View File

@ -106,7 +106,7 @@ impl<'b> Controller<'b> {
while reader.read_line(&mut line_buffer)? {
match line_ranges.check(line_number) {
RangeCheckResult::OutsideRange => {
RangeCheckResult::BeforeOrBetweenRanges => {
// Call the printer in case we need to call the syntax highlighter
// for this line. However, set `out_of_range` to `true`.
printer.print_line(true, writer, line_number, &line_buffer)?;