From d48913d7b597c0655fb364f87e43d98d811ae38e Mon Sep 17 00:00:00 2001 From: rustdesk Date: Sat, 7 Jan 2023 00:32:10 +0800 Subject: [PATCH] fix clippy --- libs/hbb_common/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/hbb_common/src/config.rs b/libs/hbb_common/src/config.rs index b350e71..4dad2d2 100644 --- a/libs/hbb_common/src/config.rs +++ b/libs/hbb_common/src/config.rs @@ -438,7 +438,7 @@ impl Config { let org = ORG.read().unwrap().clone(); // /var/root for root if let Some(project) = - directories_next::ProjectDirs::from("", org, &APP_NAME.read().unwrap()) + directories_next::ProjectDirs::from("", &org, &APP_NAME.read().unwrap()) { let mut path = patch(project.config_dir().to_path_buf()); path.push(p);