difftreelog
chore fixed code review request
in: master
1 file changed
pallets/structure/src/lib.rsdiffbeforeafterboth162 })162 })163 }163 }164164165 /// Find chain of parents of current token165 /// Get the chain of parents of a token in the nesting hierarchy166 ///166 ///167 /// Returns the parent of the current token, than the parent of the parent and so on until token without a parent167 /// Returns an iterator of addresses of the owning tokens and the owning account,168 /// starting from the immediate parent token, ending with the account.168 /// is returned. Returns error if cycle is detected.169 /// Returns error if cycle is detected.169 pub fn parent_chain(170 pub fn parent_chain(170 mut collection: CollectionId,171 mut collection: CollectionId,171 mut token: TokenId,172 mut token: TokenId,