difftreelog
cargo fmt
in: master
1 file changed
pallets/nonfungible/src/property_guard.rsdiffbeforeafterboth32 }32 }333334 pub fn check_collection_admin(&mut self) -> DispatchResult {34 pub fn check_collection_admin(&mut self) -> DispatchResult {35 *self.collection_admin_result.get_or_insert_with(|| {35 *self36 .collection_admin_result36 self.collection.check_is_owner_or_admin(self.sender)37 .get_or_insert_with(|| self.collection.check_is_owner_or_admin(self.sender))37 })38 }38 }393940 pub fn check_token_owner(&mut self) -> DispatchResult {40 pub fn check_token_owner(&mut self) -> DispatchResult {