From 7ff46b8f99108ad085703365e022c3302fb81eab Mon Sep 17 00:00:00 2001 From: sepia Date: Sun, 15 Dec 2024 15:16:42 -0600 Subject: [PATCH] Day 15 (tiny refactor) --- src/util/maps.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/maps.rs b/src/util/maps.rs index 88b21ff..97e4d9c 100644 --- a/src/util/maps.rs +++ b/src/util/maps.rs @@ -32,7 +32,7 @@ impl Direction { #[derive(Clone)] pub struct Map where - T: Copy + Display, + T: Copy, { pub map: Vec>, } @@ -51,7 +51,7 @@ impl Map { impl Map where - T: Copy + Display, + T: Copy, { pub fn from_2d_vec(map: Vec>) -> Self { Self { map }