fix: add pub to TorusGrid

This commit is contained in:
vova-rs committed 2026-05-14 14:50:48 +03:00
1 parent 1bca11eb4c
commit 2359187628
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ fn wrap_pos(p: (i32, i32), s: (usize, usize)) -> (usize, usize) {
(x, y) (x, y)
} }
struct TorusGrid<T: Clone>{ pub struct TorusGrid<T: Clone>{
vec: Vec<T>, vec: Vec<T>,
size: (usize, usize), size: (usize, usize),
} }