We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99aebda commit c1e1293Copy full SHA for c1e1293
rust/rbac-registration/src/cardano/state.rs
@@ -38,8 +38,11 @@ pub trait RbacChainsState {
38
39
/// Update the chain by "taking" the given `StakeAddress` for the corresponding
40
/// RBAC chain's by the given `CatalystId`.
41
- fn take_stake_address_from_chains(
+ fn take_stake_address_from_chains<I>(
42
&mut self,
43
- addresses: impl IntoIterator<Item = StakeAddress> + Send,
44
- ) -> impl Future<Output = anyhow::Result<()>> + Send;
+ addresses: I,
+ ) -> impl Future<Output = anyhow::Result<()>> + Send
45
+ where
46
+ I: IntoIterator<Item = StakeAddress> + Send,
47
+ <I as IntoIterator>::IntoIter: Send;
48
}
0 commit comments