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
116 create_collection_raw(116 create_collection_raw(
117 owner,117 owner,
118 CollectionMode::NFT,118 CollectionMode::NFT,
119 |owner: T::CrossAccountId, data| <Pallet<T>>::init_collection(owner.clone(), owner, data, CollectionFlags::default()),119 |owner: T::CrossAccountId, data| {
120 <Pallet<T>>::init_collection(owner.clone(), owner, data, CollectionFlags::default())
121 },
120 |h| h,122 |h| h,
121 )123 )
122}124}
modifiedpallets/nonfungible/src/benchmarking.rsdiffbeforeafterboth
--- a/pallets/nonfungible/src/benchmarking.rs
+++ b/pallets/nonfungible/src/benchmarking.rs
@@ -54,7 +54,9 @@
 	create_collection_raw(
 		owner,
 		CollectionMode::NFT,
-		|owner: T::CrossAccountId, data| <Pallet<T>>::init_collection(owner.clone(), owner, data, true),
+		|owner: T::CrossAccountId, data| {
+			<Pallet<T>>::init_collection(owner.clone(), owner, data, true)
+		},
 		NonfungibleHandle::cast,
 	)
 }