Skip to content

Commit

Permalink
Merge pull request #164 from ackintosh/fix-use-of-deprecated-constants
Browse files Browse the repository at this point in the history
Fix use of deprecated constants
  • Loading branch information
ackintosh authored Oct 18, 2023
2 parents 36eec93 + ac83fc5 commit 64ad8d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/behaviour.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub(crate) enum BehaviourComposerEvent {

/// The core behaviour that combines the sub-behaviours.
#[derive(NetworkBehaviour)]
#[behaviour(out_event = "BehaviourComposerEvent")]
#[behaviour(to_swarm = "BehaviourComposerEvent")]
pub(crate) struct BehaviourComposer<AppReqId: ReqId> {
/* Sub-Behaviours */
pub(crate) discovery: crate::discovery::behaviour::Behaviour,
Expand Down

0 comments on commit 64ad8d2

Please sign in to comment.