fix: apply clippy suggestions (#120)

* fix: apply clippy suggestions

* fmt

* clippy for linux targets
This commit is contained in:
Fabian-Lars
2023-02-01 11:27:33 +01:00
committed by GitHub
parent 2e515abba7
commit 4bb200aac5
8 changed files with 213 additions and 171 deletions
@@ -38,8 +38,8 @@ pub fn init<R: Runtime>(f: Box<SingleInstanceCallback<R>>) -> TauriPlugin<R> {
callback: f,
app_handle: app.clone(),
};
let dbus_name = format!("org.{}.SingleInstance", id);
let dbus_path = format!("/org/{}/SingleInstance", id);
let dbus_name = format!("org.{id}.SingleInstance");
let dbus_path = format!("/org/{id}/SingleInstance");
match ConnectionBuilder::session()
.unwrap()