From 69287d8a309b7a08524c3d349a984b2bf9622580 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Mon, 18 Dec 2023 19:21:18 +0100 Subject: [PATCH] =?UTF-8?q?fix(vector2d):=20order=20first=20by=20=E2=80=B9?= =?UTF-8?q?y=E2=80=BA=20then=20by=20=E2=80=B9x=E2=80=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matej Focko --- src/vectors/vec2d.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vectors/vec2d.rs b/src/vectors/vec2d.rs index 7700688..d4bbbe4 100644 --- a/src/vectors/vec2d.rs +++ b/src/vectors/vec2d.rs @@ -6,8 +6,8 @@ use std::ops::{Add, Index, IndexMut, Mul, Sub}; #[derive(Copy, Clone, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)] pub struct Vector2D { - x: T, y: T, + x: T, } impl Vector2D {