From d63acbe5b9aa79c81f12a4e1a4b748c7a187ad6e Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Thu, 3 Mar 2022 00:20:26 -0500 Subject: [PATCH] use String::new() instead --- src/egui_app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } }