From 6fbba6f4eec1f2e7150f02e4c171f8ee60a46236 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 31 Aug 2019 06:20:56 +0200 Subject: Make `clippy` happy --- src/point.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/point.rs') diff --git a/src/point.rs b/src/point.rs index 80afffb7..183998dd 100644 --- a/src/point.rs +++ b/src/point.rs @@ -3,7 +3,10 @@ use crate::Vector; /// A 2D point. #[derive(Debug, Clone, Copy, PartialEq)] pub struct Point { + /// The X coordinate. pub x: f32, + + /// The Y coordinate. pub y: f32, } -- cgit