made coordinate public
This commit is contained in:
1 parent
2636f4a6c8
commit
2d3443907d
2 files changed
+5
-6
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ pub struct Grid<T> {
|
||||
content: Vec<T>,
|
||||
}
|
||||
|
||||
type Coord = (i64, i64);
|
||||
pub type Coord = (i64, i64);
|
||||
|
||||
impl<T> Grid<T> {
|
||||
pub fn from(mut source: HashMap<Coord, T>) -> Grid<T> {
|
||||
|
||||
Reference in new issue
Block a user