Benchmark macro: Allow multiple bounds in where (#8116)

This commit is contained in:
Albrecht
2021-02-18 12:47:33 +01:00
committed by GitHub
parent afc4b9bb95
commit 0b6fbe7315
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -138,7 +138,8 @@ mod benchmarks {
crate::benchmarks!{
where_clause {
where
<T as pallet_test::OtherConfig>::OtherEvent: Into<<T as pallet_test::Config>::Event>
<T as pallet_test::OtherConfig>::OtherEvent: Into<<T as pallet_test::Config>::Event> + Clone,
<T as pallet_test::Config>::Event: Clone,
}
set_value {