fix clippy

This commit is contained in:
rustdesk 2023-01-07 00:32:10 +08:00
parent 1557203912
commit d48913d7b5

View File

@ -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);