From 9abc2c640156385c7b92eee9da99fb3351fbdade Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Sun, 22 May 2022 19:26:59 -0400 Subject: [PATCH] clippy --- src/data.rs | 2 +- src/function_entry.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data.rs b/src/data.rs index 6b52a22..707c514 100644 --- a/src/data.rs +++ b/src/data.rs @@ -8,7 +8,7 @@ pub struct TextData { pub welcome: egui::RichText, } -#[derive(PartialEq, serde::Serialize, serde::Deserialize)] +#[derive(PartialEq, Eq, serde::Serialize, serde::Deserialize)] pub struct TextDataRaw { pub help_expr: String, pub help_vars: String, diff --git a/src/function_entry.rs b/src/function_entry.rs index cfe7b33..ebb66f1 100644 --- a/src/function_entry.rs +++ b/src/function_entry.rs @@ -18,7 +18,7 @@ use std::{ use unzip_n::unzip_n; /// Represents the possible variations of Riemann Sums -#[derive(PartialEq, Debug, Copy, Clone)] +#[derive(PartialEq, Eq, Debug, Copy, Clone)] pub enum Riemann { Left, Middle,