Skip to content

Commit

Permalink
ci: fix clippy 1.84 (#290)
Browse files Browse the repository at this point in the history
Co-authored-by: dj8yf0μl <[email protected]>
  • Loading branch information
dj8yfo and dj8yf0μl authored Jan 13, 2025
1 parent 411318c commit 09e0635
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 09e0635

Please sign in to comment.