remove unnecessary check

This commit is contained in:
Simon Gardling 2022-04-20 10:00:05 -04:00
parent 5ae872aad9
commit 42bd536538

View File

@ -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);
}