add missing comment

This commit is contained in:
Simon Gardling 2022-03-30 09:03:34 -04:00
parent 686322c95e
commit 5563679cdf

View File

@ -288,6 +288,7 @@ pub struct MathApp {
/// when side panel is minimized) /// when side panel is minimized)
func_errors: Vec<Option<(usize, String)>>, func_errors: Vec<Option<(usize, String)>>,
/// Stores whether or not an error is stored in `self.func_errors`
exists_error: bool, exists_error: bool,
/// Contains the list of Areas calculated (the vector of f64) and time it /// 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()) .filter(|ele| ele.is_some())
.map(|ele| ele.as_ref().unwrap()) .map(|ele| ele.as_ref().unwrap())
.for_each(|ele| { .for_each(|ele| {
ui.heading( ui.heading(format!("(Function #{}) {}\n", ele.0, ele.1));
format!("(Function #{}) {}\n", ele.0, ele.1),
);
}) })
}); });
return; return;