Test: convert index

This commit is contained in:
Jonas Zeunert
2024-02-20 00:54:36 +01:00
parent 2e6d9bb96c
commit b762a2da92
2 changed files with 26 additions and 1 deletions

View File

@@ -13,7 +13,9 @@ impl SudokuSolver {
playfield: playfield.clone(),
}
}
pub fn solve(&self) -> Playfield {
pub fn solve(&mut self) -> Playfield {
self.populate_possible_values();
return self.playfield.clone();
}