diff options
Diffstat (limited to 'src/bin/main.rs')
-rw-r--r-- | src/bin/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/main.rs b/src/bin/main.rs index 37056e78..25ed880e 100644 --- a/src/bin/main.rs +++ b/src/bin/main.rs @@ -34,7 +34,7 @@ fn main() -> Result<()> { let config_path = read_config(matches.value_of("config_location")) .context("Unable to access the given config file location.")?; - let config: Config = create_or_get_config(&config_path) + let mut config: Config = create_or_get_config(&config_path) .context("Unable to properly parse or create the config file.")?; // Get widget layout separately @@ -45,7 +45,7 @@ fn main() -> Result<()> { // Create "app" struct, which will control most of the program and store settings/state let mut app = build_app( &matches, - &config, + &mut config, &widget_layout, default_widget_id, &default_widget_type_option, |