Skip to content

Commit b47e69f

Browse files
committed
fix parameter
1 parent 7985952 commit b47e69f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2024/12/jamestomasino.v

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fn is_valid_move(row int, col int, max_y int, max_x int) bool {
2727
return row >= 0 && row < max_y && col >= 0 && col < max_x
2828
}
2929

30-
fn check_cell(mut region &Region, mut visited [][]bool, grid []string, row int, col int, max_y int, max_x int) {
30+
fn check_cell(mut region Region, mut visited [][]bool, grid []string, row int, col int, max_y int, max_x int) {
3131
directions := [[0, 1], [0, -1], [1, 0], [-1, 0]]
3232
for dir in directions {
3333
new_row := row + dir[0]

0 commit comments

Comments
 (0)