mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-26 21:30:31 +01:00
Correct formatting.
This commit is contained in:
@@ -56,7 +56,8 @@ impl common::Solution for Day02 {
|
||||
fn part2(&mut self, input: &mut io::Read) -> String {
|
||||
let mut ids: Vec<String> = io::BufReader::new(input)
|
||||
.lines()
|
||||
.map(|x| x.unwrap()).collect();
|
||||
.map(|x| x.unwrap())
|
||||
.collect();
|
||||
ids.sort_unstable();
|
||||
|
||||
for id1 in &ids {
|
||||
|
||||
Reference in New Issue
Block a user