Skip to content

Commit

Permalink
ci: clippy lint of 1.84 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed Jan 9, 2025
1 parent ae0d1c4 commit 2091b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion near-sdk-macros/src/core_impl/contract_metadata/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl ContractMetadata {

// adding nep330 if it is not present
if self.standards.is_empty()
|| self.standards.iter().all(|s| s.standard.to_ascii_lowercase() != "nep330")
|| self.standards.iter().all(|s| !s.standard.eq_ignore_ascii_case("nep330"))
{
self.standards
.push(Standard { standard: "nep330".to_string(), version: "1.2.0".to_string() });
Expand Down

0 comments on commit 2091b02

Please sign in to comment.