From 605d0dd6c1173fc18793453709dd4505b721c16a Mon Sep 17 00:00:00 2001 From: rustdesk Date: Sat, 7 Jan 2023 11:59:53 +0800 Subject: [PATCH] fix clippy --- libs/hbb_common/src/config.rs | 2 +- src/version.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/hbb_common/src/config.rs b/libs/hbb_common/src/config.rs index 4dad2d2..fb25027 100644 --- a/libs/hbb_common/src/config.rs +++ b/libs/hbb_common/src/config.rs @@ -433,7 +433,7 @@ impl Config { #[cfg(not(any(target_os = "android", target_os = "ios")))] { #[cfg(not(target_os = "macos"))] - let org = ""; + let org = "".to_owned(); #[cfg(target_os = "macos")] let org = ORG.read().unwrap().clone(); // /var/root for root diff --git a/src/version.rs b/src/version.rs index eb6ab57..3768b02 100644 --- a/src/version.rs +++ b/src/version.rs @@ -1,3 +1,3 @@ pub const VERSION: &str = "1.1.6"; #[allow(dead_code)] -pub const BUILD_DATE: &str = "2023-01-07 00:36"; \ No newline at end of file +pub const BUILD_DATE: &str = "2023-01-07 11:59"; \ No newline at end of file