Make clippy happy

This commit is contained in:
Héctor Ramón Jiménez 2019-08-31 06:20:56 +02:00
parent 1cd96d0d61
commit 6fbba6f4ee
8 changed files with 31 additions and 28 deletions

View file

@ -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,
}