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

@ -46,8 +46,7 @@ use wasm_timer::{Instant, Interval};
mod tests;
/// Network behaviour that automatically identifies nodes periodically, and returns information
/// about them.
/// Network behaviour that handles the gossipsub protocol.
pub struct Gossipsub<TSubstream> {
/// Configuration providing gossipsub performance parameters.
config: GossipsubConfig,