Skip to content

Commit

Permalink
lint, fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog-crabnebula committed Mar 26, 2024
1 parent db1aa43 commit 764374e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .changes/fix-nsis-on-unix.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"cargo-packager": patch
---

Fix bundling NSIS on Linux and macOS failing due to the verbose flag.
Fix bundling NSIS on Linux and macOS failing due to the verbose flag.
2 changes: 2 additions & 0 deletions crates/utils/src/current_exe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,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()
.map(Clone::clone)
Expand Down

0 comments on commit 764374e

Please sign in to comment.