From 5563679cdf87723eaeb6a056f21ae75086e3bd76 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Wed, 30 Mar 2022 09:03:34 -0400 Subject: [PATCH] add missing comment --- src/egui_app.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/egui_app.rs b/src/egui_app.rs index d27b4dd..74dc72e 100644 --- a/src/egui_app.rs +++ b/src/egui_app.rs @@ -288,6 +288,7 @@ pub struct MathApp { /// when side panel is minimized) func_errors: Vec>, + /// Stores whether or not an error is stored in `self.func_errors` exists_error: bool, /// Contains the list of Areas calculated (the vector of f64) and time it @@ -703,9 +704,7 @@ impl epi::App for MathApp { .filter(|ele| ele.is_some()) .map(|ele| ele.as_ref().unwrap()) .for_each(|ele| { - ui.heading( - format!("(Function #{}) {}\n", ele.0, ele.1), - ); + ui.heading(format!("(Function #{}) {}\n", ele.0, ele.1)); }) }); return;