clippy
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user