ran cargo fmt
This commit is contained in:
parent
cf6528285c
commit
cad7827158
2 changed files with 3 additions and 2 deletions
|
@ -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(())
|
||||||
}
|
}
|
||||||
|
|
|
@ -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}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue