mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-10-08 22:31:11 +02:00
clippy
This commit is contained in:
1 parent
36698d1436
commit
64aed34eff
5 files changed
+7
-5
No files matched your search
@@ -172,7 +172,7 @@ impl Store {
|
||||
pub fn load<R: Runtime>(&mut self, app: &AppHandle<R>) -> Result<(), Error> {
|
||||
let app_dir = app
|
||||
.path_resolver()
|
||||
.app_dir()
|
||||
.app_data_dir()
|
||||
.expect("failed to resolve app dir");
|
||||
let store_path = app_dir.join(&self.path);
|
||||
|
||||
@@ -187,7 +187,7 @@ impl Store {
|
||||
pub fn save<R: Runtime>(&self, app: &AppHandle<R>) -> Result<(), Error> {
|
||||
let app_dir = app
|
||||
.path_resolver()
|
||||
.app_dir()
|
||||
.app_data_dir()
|
||||
.expect("failed to resolve app dir");
|
||||
let store_path = app_dir.join(&self.path);
|
||||
|
||||
|
||||
Reference in new issue
Block a user