chore: Clippy suggestion, combine replaces

pull/72/head
Beanow 2 years ago
parent b88ec8e9c1
commit 9884734bf5
No known key found for this signature in database
GPG Key ID: 67C49F1108FCE5A4

@ -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> {

Loading…
Cancel
Save