Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
jstuczyn committed Sep 21, 2023
1 parent 079236d commit a8c127a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion 2022/day03/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ impl FromStr for Rucksack {
fn from_str(s: &str) -> Result<Self, Self::Err> {
let items = s
.chars()
.into_iter()
.map(Item::try_from)
.collect::<Result<Vec<_>, _>>()?;
if items.len() % 2 != 0 {
Expand Down

0 comments on commit a8c127a

Please sign in to comment.