chore: Clippy suggestion, combine replaces

This commit is contained in:
Beanow
2023-01-11 12:41:45 +01:00
parent b88ec8e9c1
commit 9884734bf5
@@ -31,8 +31,7 @@ fn dbus_id(config: Arc<Config>) -> String {
.tauri
.bundle
.identifier
.replace('.', "_")
.replace('-', "_")
.replace(['.', '-'], "_")
}
pub fn init<R: Runtime>(f: Box<SingleInstanceCallback<R>>) -> TauriPlugin<R> {