mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-26 21:30:31 +01:00
Fix misc clippy warnings
Why does it want me to use bytecount? It's not even faster
This commit is contained in:
@@ -15,6 +15,8 @@ fn split_nums<'a>(s: &'a str) -> impl Iterator<Item = u32> + 'a {
|
||||
})
|
||||
}
|
||||
|
||||
// Clippy allow here because this type is used exactly once
|
||||
#[allow(clippy::type_complexity)]
|
||||
fn read_input(input: &mut dyn Read) -> (HashMap<String, Vec<RangeInclusive<u32>>>, Vec<Vec<u32>>) {
|
||||
let mut lines = Lines::new(input).filter(|s| !s.is_empty());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user