Skip to content

Commit

Permalink
fixed iterator parsing the line ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
KamWithK authored Aug 2, 2019
1 parent c277f1a commit 6aa89ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fn parse_line_range(s: &str) -> Result<Vec<u32>, ParseIntError> {
if range.len() == 1 {
result.push(range[0])
} else {
for i in range[0]..range[1] {
for i in range[0]..=range[1] {
result.push(i);
}
}
Expand Down

0 comments on commit 6aa89ed

Please sign in to comment.