From 96d9d3b170e19a866065d192fab20b3dc3756855 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Wed, 30 Mar 2022 09:32:28 -0400 Subject: [PATCH] cleanup --- src/egui_app.rs | 1 - src/parsing.rs | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egui_app.rs b/src/egui_app.rs index 64b7016..0c61b2e 100644 --- a/src/egui_app.rs +++ b/src/egui_app.rs @@ -446,7 +446,6 @@ impl MathApp { max_x_changed | min_x_changed | integral_num_changed | riemann_changed; // Stores whether global config options changed - // TODO: only take into account integral settings if integral is enabled (maybe) let configs_changed = max_x_changed | min_x_changed | integral_num_changed | roots_toggled | extrema_toggled diff --git a/src/parsing.rs b/src/parsing.rs index 587b508..edae310 100644 --- a/src/parsing.rs +++ b/src/parsing.rs @@ -264,6 +264,7 @@ mod tests { test_func_helper(func_str, false); } } + /// Helps with tests of [`process_func_str`] #[cfg(test)] fn test_process_helper(input: &str, expected: &str) {