some clippy warnings

This commit is contained in:
Dylan Thies
2023-12-08 00:31:59 -05:00
parent 71457ff52e
commit 039dcadabc
4 changed files with 205 additions and 26 deletions

View File

@@ -44,7 +44,7 @@ fn parse_input(input: &str) -> IResult<&str, Vec<(u64, u64)>> {
input,
time.iter()
.interleave(distance.iter())
.map(|x| *x)
.copied()
.tuples()
.collect(),
))