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

@ -2,7 +2,7 @@ use crate::{Padding, Vector};
use std::f32;
/// An amount of space in 2 dimensions.
#[derive(Debug, Clone, Copy, PartialEq)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct Size<T = f32> {
/// The width.
pub width: T,