diff --git a/src/egui_app.rs b/src/egui_app.rs index b0f1132..1e85bd0 100644 --- a/src/egui_app.rs +++ b/src/egui_app.rs @@ -279,7 +279,7 @@ impl MathApp { ); } } else { - function.func_str = "".to_string(); + function.func_str = String::new(); } }