Switch to latest impl-trait-for-tuples (#8082)

Switches to the latest version everywhere now, as I fixed the problems
in the crate ;)
This commit is contained in:
Bastian Köcher
2021-02-09 13:31:44 +01:00
committed by GitHub
parent 1eeafdd2b3
commit f174e14793
13 changed files with 26 additions and 39 deletions
+1 -3
View File
@@ -258,10 +258,8 @@ pub trait SessionHandler<ValidatorId> {
}
#[impl_trait_for_tuples::impl_for_tuples(1, 30)]
#[tuple_types_no_default_trait_bound]
#[tuple_types_custom_trait_bound(OneSessionHandler<AId>)]
impl<AId> SessionHandler<AId> for Tuple {
for_tuples!( where #( Tuple: OneSessionHandler<AId> )* );
for_tuples!(
const KEY_TYPE_IDS: &'static [KeyTypeId] = &[ #( <Tuple::Key as RuntimeAppPublic>::ID ),* ];
);