Fix copy-paste error in doc string (#1428)

Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
This commit is contained in:
Shotaro Yamada
2020-02-06 19:17:05 +09:00
committed by GitHub
parent 39794b333f
commit b200728443
2 changed files with 2 additions and 4 deletions

View File

@ -37,8 +37,7 @@ use std::{collections::VecDeque, iter, marker::PhantomData};
use std::collections::hash_map::{DefaultHasher, HashMap};
use std::task::{Context, Poll};
/// Network behaviour that automatically identifies nodes periodically, and returns information
/// about them.
/// Network behaviour that handles the floodsub protocol.
pub struct Floodsub<TSubstream> {
/// Events that need to be yielded to the outside when polling.
events: VecDeque<NetworkBehaviourAction<FloodsubRpc, FloodsubEvent>>,