git.delta.rocks / unique-network / refs/commits / 29dbca81ac00

difftreelog

fix cargo fmt

Daniel Shiposha2022-10-03parent: #ea2246a.patch.diff
in: master

2 files changed

modifiedpallets/common/src/benchmarking.rsdiffbeforeafterboth
--- a/pallets/common/src/benchmarking.rs
+++ b/pallets/common/src/benchmarking.rs
@@ -116,7 +116,9 @@
 	create_collection_raw(
 		owner,
 		CollectionMode::NFT,
-		|owner: T::CrossAccountId, data| <Pallet<T>>::init_collection(owner.clone(), owner, data, CollectionFlags::default()),
+		|owner: T::CrossAccountId, data| {
+			<Pallet<T>>::init_collection(owner.clone(), owner, data, CollectionFlags::default())
+		},
 		|h| h,
 	)
 }
modifiedpallets/nonfungible/src/benchmarking.rsdiffbeforeafterboth
54 create_collection_raw(54 create_collection_raw(
55 owner,55 owner,
56 CollectionMode::NFT,56 CollectionMode::NFT,
57 |owner: T::CrossAccountId, data| <Pallet<T>>::init_collection(owner.clone(), owner, data, true),57 |owner: T::CrossAccountId, data| {
58 <Pallet<T>>::init_collection(owner.clone(), owner, data, true)
59 },
58 NonfungibleHandle::cast,60 NonfungibleHandle::cast,
59 )61 )
60}62}