Skip to content

Commit c1e1293

Browse files
committed
wip
1 parent 99aebda commit c1e1293

File tree

1 file changed

+6
-3
lines changed
  • rust/rbac-registration/src/cardano

1 file changed

+6
-3
lines changed

rust/rbac-registration/src/cardano/state.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,11 @@ pub trait RbacChainsState {
3838

3939
/// Update the chain by "taking" the given `StakeAddress` for the corresponding
4040
/// RBAC chain's by the given `CatalystId`.
41-
fn take_stake_address_from_chains(
41+
fn take_stake_address_from_chains<I>(
4242
&mut self,
43-
addresses: impl IntoIterator<Item = StakeAddress> + Send,
44-
) -> impl Future<Output = anyhow::Result<()>> + Send;
43+
addresses: I,
44+
) -> impl Future<Output = anyhow::Result<()>> + Send
45+
where
46+
I: IntoIterator<Item = StakeAddress> + Send,
47+
<I as IntoIterator>::IntoIter: Send;
4548
}

0 commit comments

Comments
 (0)