Skip to content

Commit

Permalink
fix(iota-types): elided_named_lifetimes 1.83 compiler warning (#4309)
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez authored Nov 29, 2024
1 parent d899a6c commit 978fa07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/iota-types/src/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ impl<const STRONG_THRESHOLD: bool> AuthorityQuorumSignInfo<STRONG_THRESHOLD> {
pub fn authorities<'a>(
&'a self,
committee: &'a Committee,
) -> impl Iterator<Item = IotaResult<&AuthorityName>> {
) -> impl Iterator<Item = IotaResult<&'a AuthorityName>> {
self.signers_map.iter().map(|i| {
committee
.authority_by_index(i)
Expand Down

0 comments on commit 978fa07

Please sign in to comment.