mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-21 11:26:15 +02:00
chore: Clippy suggestion, combine replaces
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user