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,