Skip to content

Commit d87afb0

Browse files
committed
Allow needless_range_loop warning
1 parent e952d59 commit d87afb0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

crates/gitql-parser/src/name_similarity.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ fn levenshtein_distance(s1: &str, s2: &str) -> usize {
3737
vector[0] = i;
3838
}
3939

40+
#[allow(clippy::needless_range_loop)]
4041
for j in 0..vec12_len {
4142
matrix[0][j] = j;
4243
}

0 commit comments

Comments
 (0)