Make program build
This commit is contained in:
parent
7cfa5092e8
commit
1be8e3bd01
@ -1,3 +1,5 @@
|
|||||||
|
#![feature(array_zip)]
|
||||||
|
|
||||||
use crate::system::Position;
|
use crate::system::Position;
|
||||||
use crate::system::storage::{Storage, VectorStorage};
|
use crate::system::storage::{Storage, VectorStorage};
|
||||||
|
|
||||||
@ -68,7 +70,7 @@ mod test {
|
|||||||
let offset = Position::in_direction(dim, sign);
|
let offset = Position::in_direction(dim, sign);
|
||||||
let next = Position { x: i, y: j } + offset;
|
let next = Position { x: i, y: j } + offset;
|
||||||
|
|
||||||
CPosition(next.0, next.1)
|
CPosition(next.x, next.y)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user