From d4236b07c0abaa8d4b455e878cee3b620c308929 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Tue, 24 May 2022 11:43:08 -0400 Subject: [PATCH] constant --- src/math_app.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/math_app.rs b/src/math_app.rs index c3aba90..7102463 100644 --- a/src/math_app.rs +++ b/src/math_app.rs @@ -254,8 +254,8 @@ impl MathApp { last_info: (None, None), text: data.text, - opened: Opened::default(), - settings: Default::default(), + opened: const { Opened::default() }, + settings: const { AppSettings::default() }, } }