Browse Source

fix clippy

rustdesk 3 years ago
parent
commit
d48913d7b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libs/hbb_common/src/config.rs

+ 1 - 1
libs/hbb_common/src/config.rs

@@ -438,7 +438,7 @@ impl Config {
438 438
             let org = ORG.read().unwrap().clone();
439 439
             // /var/root for root
440 440
             if let Some(project) =
441
-                directories_next::ProjectDirs::from("", org, &APP_NAME.read().unwrap())
441
+                directories_next::ProjectDirs::from("", &org, &APP_NAME.read().unwrap())
442 442
             {
443 443
                 let mut path = patch(project.config_dir().to_path_buf());
444 444
                 path.push(p);