















tiles[i][j] instead of tiles[[i][j]]
result is Vec<Vec<bool>>, tiles is Array2<Tile>, im transmutating bool into u8u8 number, it will give same error

tiles[[i,j]] instead of tiles[[i][j]] (edited)




let mut total_game_types: Vec<(String, usize)> = total_game_types.into_iter().collect();
total_game_types.sort_by_key(|x| Reverse(x.1));



[build]
rustflags = ["-C", "target-cpu=native"]

















Hacker News • 2022-10-27 14:55:30Z 












str_format(aBuf, sizeof(aBuf), "%s", pStr) is equivalent to str_copy(aBuf, pStr, sizeof(aBuf)). Using str_copy is more readable and also more efficient as there is no overhead from parsing the format string and from passing varargs.




















































