Skip to content

Commit

Permalink
WIP libp2p#2831: Errors in swarm handler multi.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
efarg committed Nov 26, 2022
1 parent 93cd417 commit a70b944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swarm/src/upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use libp2p_core::upgrade;
/// [`UpgradeInfo`](upgrade::UpgradeInfo).
pub trait UpgradeInfoSend: Send + 'static {
/// Equivalent to [`UpgradeInfo::InfoIter`](upgrade::UpgradeInfo::InfoIter).
type InfoIter;
type InfoIter: Iterator<Item = upgrade::ProtocolName> + Send + 'static;

/// Equivalent to [`UpgradeInfo::protocol_info`](upgrade::UpgradeInfo::protocol_info).
fn protocol_info(&self) -> Self::InfoIter;
Expand Down

0 comments on commit a70b944

Please sign in to comment.