fix clippy

This commit is contained in:
rustdesk 2023-01-07 11:59:53 +08:00
parent ebbe5d5297
commit 605d0dd6c1
2 changed files with 2 additions and 2 deletions

View File

@ -433,7 +433,7 @@ impl Config {
#[cfg(not(any(target_os = "android", target_os = "ios")))] #[cfg(not(any(target_os = "android", target_os = "ios")))]
{ {
#[cfg(not(target_os = "macos"))] #[cfg(not(target_os = "macos"))]
let org = ""; let org = "".to_owned();
#[cfg(target_os = "macos")] #[cfg(target_os = "macos")]
let org = ORG.read().unwrap().clone(); let org = ORG.read().unwrap().clone();
// /var/root for root // /var/root for root

View File

@ -1,3 +1,3 @@
pub const VERSION: &str = "1.1.6"; pub const VERSION: &str = "1.1.6";
#[allow(dead_code)] #[allow(dead_code)]
pub const BUILD_DATE: &str = "2023-01-07 00:36"; pub const BUILD_DATE: &str = "2023-01-07 11:59";