Blank is Black rather

This commit is contained in:
Leo Le Bouter 2020-10-09 19:00:47 +02:00
parent 95b12fe9d1
commit 597aab6518

View File

@ -50,14 +50,14 @@ impl Position for Point {
impl IsBlank for Point { impl IsBlank for Point {
fn is_blank(&self) -> bool { fn is_blank(&self) -> bool {
self.color == 0xffffff self.color == 0
} }
} }
impl Blanked for Point { impl Blanked for Point {
fn blanked(&self) -> Self { fn blanked(&self) -> Self {
Self { Self {
color: 0xffffff, color: 0,
..*self ..*self
} }
} }