Skip to content

Commit

Permalink
Update swarm_nl/src/core/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Sacha Lansky <[email protected]>
  • Loading branch information
thewoodfish and sacha-l authored Aug 1, 2024
1 parent 89fb45f commit 6e6619b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swarm_nl/src/core/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ impl Core {
self.keypair.public().to_peer_id()
}

/// Return an iterator to the buffered network layer events and consumes them
/// Return an iterator to the buffered network layer events and consume them.
pub async fn events(&mut self) -> IntoIter<NetworkEvent> {
let events = self.event_queue.into_inner().await.into_iter();

Expand Down

0 comments on commit 6e6619b

Please sign in to comment.