clippy
This commit is contained in:
parent
db91776dad
commit
7cfd5b5733
@ -38,7 +38,7 @@ impl Board {
|
||||
// TODO! propegate from propegated pieces
|
||||
fn propegate_from(&mut self, i: usize, j: usize) {
|
||||
// returns if that place is empty
|
||||
let Some(starting_color) = self.get(i, j).clone() else {
|
||||
let Some(starting_color) = *self.get(i, j) else {
|
||||
return;
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user