ran cargo fmt

This commit is contained in:
Nickiel12 2024-04-06 21:28:27 -07:00
parent cf6528285c
commit cad7827158
2 changed files with 3 additions and 2 deletions

View file

@ -30,4 +30,4 @@ pub fn save_config(config: &AppState) -> Result<(), SaveConfigError> {
file.write_all(toml_str.as_bytes())?; file.write_all(toml_str.as_bytes())?;
info!("Config file saved successfully"); info!("Config file saved successfully");
Ok(()) Ok(())
} }

View file

@ -16,7 +16,8 @@ const APP_ID: &str = "net.nickiel.joystick-controller-client";
fn main() -> glib::ExitCode { fn main() -> glib::ExitCode {
env::set_var("gtk_csd", "0"); env::set_var("gtk_csd", "0");
if let Err(e) = SimpleLogger::init(simplelog::LevelFilter::Debug, simplelog::Config::default()) { if let Err(e) = SimpleLogger::init(simplelog::LevelFilter::Debug, simplelog::Config::default())
{
error!("Failed to init the simplelogger!: {e}"); error!("Failed to init the simplelogger!: {e}");
} }