vector2d: fix a silly typo
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
837a579827
commit
fabef3ee41
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ where
|
|||
<usize as TryFrom<T>>::Error: Debug,
|
||||
T: Copy,
|
||||
{
|
||||
let (x, y): (usize, usize) = (idx.y.try_into().unwrap(), idx.x.try_into().unwrap());
|
||||
let (x, y): (usize, usize) = (idx.x.try_into().unwrap(), idx.y.try_into().unwrap());
|
||||
&v[y][x]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue