From dd319fbb48e32afe9c8bd7c0e196ed1bf4495fd5 Mon Sep 17 00:00:00 2001 From: vintitres Date: Thu, 14 Sep 2023 23:19:26 +0000 Subject: [PATCH] clippy --- src/day22.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/day22.rs b/src/day22.rs index 6bddf63..a4c51e7 100644 --- a/src/day22.rs +++ b/src/day22.rs @@ -116,7 +116,7 @@ fn walk( } pub fn part1(input: &str) -> u64 { - walk(input, step_fn1, &vec![]) + walk(input, step_fn1, &[]) } fn step_fn1(