From 05d95cb4157df6ea0ef43248c6b458f3272248db Mon Sep 17 00:00:00 2001 From: Vivianne Langdon Date: Sat, 10 Dec 2022 17:45:11 -0800 Subject: [PATCH] Formatting --- src/bin/p02.rs | 1 - src/bin/p06.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/p02.rs b/src/bin/p02.rs index 96a9561..19ce5c1 100644 --- a/src/bin/p02.rs +++ b/src/bin/p02.rs @@ -63,7 +63,6 @@ impl FromStr for Outcome { "Z" => Ok(Self::Win), _ => Err("Unknown outcome!"), } - } } diff --git a/src/bin/p06.rs b/src/bin/p06.rs index b4d7a07..092b5e2 100644 --- a/src/bin/p06.rs +++ b/src/bin/p06.rs @@ -1,7 +1,7 @@ #![feature(iterator_try_collect)] -use std::{fs, collections::VecDeque}; use itertools::Itertools; +use std::{collections::VecDeque, fs}; const START_PACKET_SIZE: usize = 4; const START_MESSAGE_SIZE: usize = 14;