diff --git a/pallets/nfts/src/features/approvals.rs b/pallets/nfts/src/features/approvals.rs index ec3646ba..4ef1f601 100644 --- a/pallets/nfts/src/features/approvals.rs +++ b/pallets/nfts/src/features/approvals.rs @@ -308,14 +308,13 @@ impl, I: 'static> Pallet { Ok(()) } - /// Checks whether the `delegate` has the necessary allowance to transfer items in the - /// `collection` that owned by the `account`. + /// Checks whether the `delegate` is approved to transfer items in the `collection` that owned + /// by the `account`. /// /// - `collection`: The identifier of the collection. - /// - `account`: The account that granted the permission for `delegate` to transfer items in the - /// `collection`. + /// - `account`: The account that granted the permission for `delegate` to transfer items. /// - `delegate`: The account that was previously allowed to take control of items in the - /// collection that owned by the `account`. + /// `collection` that owned by the `account`. fn check_collection_approval( collection: &T::CollectionId, account: &T::AccountId, @@ -331,10 +330,10 @@ impl, I: 'static> Pallet { Ok(()) } - /// Checks whether the `delegate` has the necessary allowance to transfer items owned by the - /// `account` or a specific item in the collection. If the `delegate` has an approval to - /// transfer items in the collection that owned by the `account`, they can transfer every item - /// without requiring explicit approval for that item. + /// Checks whether the `delegate` is approved by the `account` to transfer items that owned by + /// the `account` or a specific item in the collection. If the `delegate` has + /// an approval to transfer items in the collection that owned by the `account`, they can + /// transfer every item without requiring explicit approval for that item. /// /// - `collection`: The identifier of the collection. /// - `maybe_item`: The optional item of the collection that the delegated account has an