From 29dbca81ac00113af5e60c11f98734fa50c7e8a6 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Mon, 03 Oct 2022 12:09:02 +0000 Subject: [PATCH] fix: cargo fmt --- --- 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| >::init_collection(owner.clone(), owner, data, CollectionFlags::default()), + |owner: T::CrossAccountId, data| { + >::init_collection(owner.clone(), owner, data, CollectionFlags::default()) + }, |h| h, ) } --- 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| >::init_collection(owner.clone(), owner, data, true), + |owner: T::CrossAccountId, data| { + >::init_collection(owner.clone(), owner, data, true) + }, NonfungibleHandle::cast, ) } -- gitstuff