mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-29 12:06:01 +02:00
Clippy
This commit is contained in:
@@ -188,10 +188,8 @@ impl<R: Runtime> StoreBuilder<R> {
|
||||
if let Some(rid) = stores.remove(&self.path) {
|
||||
let _ = self.app.resources_table().take::<Store<R>>(rid);
|
||||
}
|
||||
} else {
|
||||
if let Some(rid) = stores.get(&self.path) {
|
||||
return Ok((self.app.resources_table().get(*rid).unwrap(), *rid));
|
||||
}
|
||||
} else if let Some(rid) = stores.get(&self.path) {
|
||||
return Ok((self.app.resources_table().get(*rid).unwrap(), *rid));
|
||||
}
|
||||
|
||||
// if stores.contains_key(&self.path) {
|
||||
|
||||
Reference in New Issue
Block a user