difftreelog
style fix rest of clippy warnings
in: master
2 files changed
Makefilediffbeforeafterboth--- a/Makefile
+++ b/Makefile
@@ -166,4 +166,4 @@
.PHONY: clippy
clippy:
- SKIP_WASM_BUILD=1 cargo clippy --features=quartz-runtime,unique-runtime,try-runtime,runtime-benchmarks --tests
+ cargo clippy --features=quartz-runtime,unique-runtime,try-runtime,runtime-benchmarks --tests
pallets/unique/src/benchmarking.rsdiffbeforeafterboth70 let mode: CollectionMode = CollectionMode::NFT;70 let mode: CollectionMode = CollectionMode::NFT;71 let caller: T::AccountId = account("caller", 0, SEED);71 let caller: T::AccountId = account("caller", 0, SEED);72 let _ = <T as CommonConfig>::Currency::deposit(&caller, T::CollectionCreationPrice::get(), Precision::Exact).unwrap();72 let _ = <T as CommonConfig>::Currency::deposit(&caller, T::CollectionCreationPrice::get(), Precision::Exact).unwrap();73 }: _(RawOrigin::Signed(caller.clone()), col_name.clone(), col_desc.clone(), token_prefix.clone(), mode)73 }: _(RawOrigin::Signed(caller.clone()), col_name, col_desc, token_prefix, mode)74 verify {74 verify {75 assert_eq!(<pallet_common::CollectionById<T>>::get(CollectionId(1)).unwrap().owner, caller);75 assert_eq!(<pallet_common::CollectionById<T>>::get(CollectionId(1)).unwrap().owner, caller);76 }76 }155155156 force_repair_collection {156 force_repair_collection {157 let caller: T::AccountId = account("caller", 0, SEED);157 let caller: T::AccountId = account("caller", 0, SEED);158 let collection = create_nft_collection::<T>(caller.clone())?;158 let collection = create_nft_collection::<T>(caller)?;159 }: _(RawOrigin::Root, collection)159 }: _(RawOrigin::Root, collection)160}160}161161