removed silly comments
This commit is contained in:
@@ -33,14 +33,12 @@ pub fn scan(
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
current_index = dec_row(¤t_index, 1);
|
current_index = dec_row(¤t_index, 1);
|
||||||
//current_index.0 -= 1;
|
|
||||||
}
|
}
|
||||||
Direction::UP => {
|
Direction::UP => {
|
||||||
if current_index.0 == board.num_rows() - 1 {
|
if current_index.0 == board.num_rows() - 1 {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
current_index = inc_row(¤t_index, 1);
|
current_index = inc_row(¤t_index, 1);
|
||||||
// current_index.0 += 1;
|
|
||||||
}
|
}
|
||||||
Direction::LEFT => {
|
Direction::LEFT => {
|
||||||
if current_index.1 == 0 {
|
if current_index.1 == 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user