From 597aab65181b519ea02c56690efa5f5cfe522004 Mon Sep 17 00:00:00 2001 From: Leo Le Bouter Date: Fri, 9 Oct 2020 19:00:47 +0200 Subject: [PATCH] Blank is Black rather --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 6597ff5..92cdff9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -50,14 +50,14 @@ impl Position for Point { impl IsBlank for Point { fn is_blank(&self) -> bool { - self.color == 0xffffff + self.color == 0 } } impl Blanked for Point { fn blanked(&self) -> Self { Self { - color: 0xffffff, + color: 0, ..*self } }