diff --git a/src/math_app.rs b/src/math_app.rs index 42aa504..4f3a03f 100644 --- a/src/math_app.rs +++ b/src/math_app.rs @@ -466,7 +466,7 @@ impl MathApp { } // Remove function if the user requests it - if can_remove && let Some(remove_i_unwrap) = remove_i { + if let Some(remove_i_unwrap) = remove_i { self.functions.remove(remove_i_unwrap); }