Blindly follow all clippy's decrees

This commit is contained in:
2022-12-10 12:47:30 +01:00
parent fd764a46f1
commit 242b284a59
8 changed files with 20 additions and 18 deletions

View File

@@ -52,7 +52,7 @@ pub fn process_part_2(input: &str) -> usize {
fn parse_trees(input: &str) -> Vec<Vec<u8>> {
input
.trim()
.split("\n")
.split('\n')
.map(|i| i.chars().map(|c| c.to_digit(10).unwrap() as u8).collect())
.collect()
}