diff --git a/core/tauri-utils/src/platform/starting_binary.rs b/core/tauri-utils/src/platform/starting_binary.rs index 213e76d108e6..a74732e2e706 100644 --- a/core/tauri-utils/src/platform/starting_binary.rs +++ b/core/tauri-utils/src/platform/starting_binary.rs @@ -41,6 +41,8 @@ impl StartingBinary { /// /// Because [`Error`] is not clone-able, it is recreated instead. pub(super) fn cloned(&self) -> Result { + // false positive + #[allow(clippy::useless_asref)] self .0 .as_ref()