Can't figure out why these multidimensional access behave so differently #23825
Unanswered
fsicre
asked this question in
Questions and Answers
Replies: 1 comment 2 replies
-
Add pub fn (grid Grid) at(i int, j int) &Cell {
return &(grid.cells[i][j])
} so pub fn (mut grid Grid) at(i int, j int) &Cell {
return &(grid.cells[i][j])
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://play.vlang.io/?query=b2511098b6
Could you find the right documentation for me ?
Beta Was this translation helpful? Give feedback.
All reactions