Skip to content

Commit

Permalink
Allow negative multiply
Browse files Browse the repository at this point in the history
  • Loading branch information
riquito committed May 30, 2020
1 parent fed271b commit b583ed9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bin/tuc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ impl Default for Range {
}
}

#[allow(clippy::neg_multiply)]
fn cut_line(delimiter_indices: &[(usize, usize)], f: &Range, line: &str) -> Result<(usize, usize)> {
let parts_length: usize = delimiter_indices.len() + 1;

Expand Down

0 comments on commit b583ed9

Please sign in to comment.