Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshOrndorff committed Apr 22, 2024
1 parent b72621a commit 7d37c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wardrobe/kitties/src/minting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ impl SimpleConstraintChecker for MintKitty {
.map_err(|_| KittyMintingError::BadlyTyped)?;

ensure!(
output_data.len() > 0,
!output_data.is_empty(),
KittyMintingError::UniversalCreatorNotUpdatedCorrectly
);
let output_creator = output_data[0]
Expand Down

0 comments on commit 7d37c4c

Please sign in to comment.