Blank is Black rather

This commit is contained in:
Leo Le Bouter 2020-10-09 19:00:47 +02:00
parent 95b12fe9d1
commit 597aab6518
1 changed files with 2 additions and 2 deletions

View File

@ -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
}
}