Skip to content

Commit

Permalink
spelling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Maar-io committed Apr 22, 2023
1 parent a9b8317 commit 3ab4985
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/common/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ pub enum RmrkError {
NotEquipped,
NotTokenOwner,
PartIsNotSlot,
SlotAlreayUsed,
SlotAlreadyUsed,
TargetAssetCannotReceiveSlot,
UnknownEquippableAsset,
UnknownPart,
Expand Down Expand Up @@ -134,7 +134,7 @@ impl ToString for RmrkError {
RmrkError::NotEquipped => String::from("NotEquipped"),
RmrkError::NotTokenOwner => String::from("NotTokenOwner"),
RmrkError::PartIsNotSlot => String::from("PartIsNotSlot"),
RmrkError::SlotAlreayUsed => String::from("SlotAlreayUsed"),
RmrkError::SlotAlreadyUsed => String::from("SlotAlreadyUsed"),
RmrkError::TargetAssetCannotReceiveSlot => String::from("TargetAssetCannotReceiveSlot"),
RmrkError::UnknownEquippableAsset => String::from("UnknownEquippableAsset"),
RmrkError::UnknownPart => String::from("UnknownPart"),
Expand Down
2 changes: 1 addition & 1 deletion crates/equippable/src/internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ where
.get((token_id, part_id)))
.is_some()
{
return Err(RmrkError::SlotAlreayUsed.into())
return Err(RmrkError::SlotAlreadyUsed.into())
}
Ok(())
}
Expand Down

0 comments on commit 3ab4985

Please sign in to comment.