This commit is contained in:
Simon Gardling
2023-03-07 10:14:17 -05:00
parent b37a6223bc
commit d134e918e4
7 changed files with 52 additions and 53 deletions

View File

@@ -46,7 +46,7 @@ pub struct AppSettings {
pub plot_width: usize,
}
impl const Default for AppSettings {
impl Default for AppSettings {
/// Default implementation of `AppSettings`, this is how the application starts up
fn default() -> Self {
Self {
@@ -264,7 +264,7 @@ impl MathApp {
last_info: (None, None),
opened: const { Opened::default() },
settings: const { AppSettings::default() },
settings: AppSettings::default(),
}
}