Fix latest clippy lints

This commit is contained in:
Héctor Ramón Jiménez 2022-08-17 16:09:25 +02:00
parent 4425839aa4
commit b0705d2f4c
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
6 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,5 @@
/// A 2D vector.
#[derive(Debug, Clone, Copy, PartialEq)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct Vector<T = f32> {
/// The X component of the [`Vector`]
pub x: T,