fix: clippy
This commit is contained in:
1 parent
4ab8519af6
commit
2c8c601579
13 files changed
+54
-54
No files matched your search
@@ -58,7 +58,7 @@ impl UserData for PluginFileSystem {
|
||||
let file = PathBuf::from(args.0);
|
||||
let target = PathBuf::from(args.1);
|
||||
let res = extract_zip(&file, &target);
|
||||
if let Err(_) = res {
|
||||
if res.is_err() {
|
||||
return Ok(false);
|
||||
}
|
||||
Ok(true)
|
||||
|
||||
Reference in new issue
Block a user