Blindly follow all clippy's decrees
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user