Skip to content

Commit

Permalink
chore: fix clippy false positive (#9329)
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir authored Apr 1, 2024
1 parent 9dd67ab commit fe6f81f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/tauri-utils/src/platform/starting_binary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ impl StartingBinary {
///
/// Because [`Error`] is not clone-able, it is recreated instead.
pub(super) fn cloned(&self) -> Result<PathBuf> {
// false positive
#[allow(clippy::useless_asref)]
self
.0
.as_ref()
Expand Down

0 comments on commit fe6f81f

Please sign in to comment.