Cargo fmt

This commit is contained in:
2024-06-27 21:54:14 +02:00
parent f18e7797ed
commit d47441975d
8 changed files with 163 additions and 93 deletions

View File

@@ -1,5 +1,5 @@
use std::collections::VecDeque;
use aoc_runner_derive::{aoc, aoc_generator};
use std::collections::VecDeque;
#[aoc_generator(day10)]
fn parse(input: &str) -> Vec<char> {
input.chars().collect()
@@ -36,7 +36,6 @@ fn part2(input: &Vec<char>) -> usize {
solve(input, 50).len()
}
#[cfg(test)]
mod tests {
use super::*;
@@ -45,4 +44,4 @@ mod tests {
fn part1_example() {
assert_eq!(solve(&parse("111221"), 1), "312211");
}
}
}