Skip to content

Commit

Permalink
ci: fix clippy 1.84
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed Jan 13, 2025
1 parent 411318c commit bcaa886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cargo-near-build/src/cargo_native/target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub fn wasm32_exists() -> bool {
.map(|stdout| {
stdout
.lines()
.any(|target| target.as_ref().map_or(false, |t| t == COMPILATION_TARGET))
.any(|target| target.as_ref().is_ok_and(|t| t == COMPILATION_TARGET))
})
.is_ok()
}
Expand Down

0 comments on commit bcaa886

Please sign in to comment.