rust 1.71 clippy fixes

This commit is contained in:
Folkert 2023-07-25 10:46:46 +02:00
parent d3ccdb51ea
commit 8e9cf121ad
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
9 changed files with 13 additions and 14 deletions

View file

@ -241,7 +241,7 @@ fn is_exhaustive(matrix: &RefPatternMatrix, n: usize) -> PatternMatrix {
.collect();
let rest: Vec<Vec<Pattern>> = is_exhaustive(&new_matrix, n - 1);
let last: _ = alt_list
let last = alt_list
.iter()
.filter_map(|r| is_missing(alts.clone(), &ctors, r));