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 -1
View File
@@ -25,7 +25,7 @@ frame-support = { version = "2.0.0", default-features = false, path = "../suppor
frame-system = { version = "2.0.0", default-features = false, path = "../system" }
pallet-timestamp = { version = "2.0.0", default-features = false, path = "../timestamp" }
sp-trie = { version = "2.0.0", optional = true, default-features = false, path = "../../primitives/trie" }
impl-trait-for-tuples = "0.1"
impl-trait-for-tuples = "0.2.1"
[dev-dependencies]
sp-application-crypto = { version = "2.0.0", path = "../../primitives/application-crypto" }
+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 ),* ];
);