File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -618,7 +618,7 @@ mod tests {
618
618
619
619
// nb. Either swarm may receive the `Identified` event first, upon which
620
620
// it will permit the connection to be closed, as defined by
621
- // `IdentifyHandler ::connection_keep_alive`. Hence the test succeeds if
621
+ // `Handler ::connection_keep_alive`. Hence the test succeeds if
622
622
// either `Identified` event arrives correctly.
623
623
async_std:: task:: block_on ( async move {
624
624
loop {
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ pub struct Handler {
92
92
interval : Duration ,
93
93
}
94
94
95
- /// Event produced by the `IdentifyHandler `.
95
+ /// Event produced by the `Handler `.
96
96
#[ derive( Debug ) ]
97
97
#[ allow( clippy:: large_enum_variant) ]
98
98
pub enum Event {
@@ -111,7 +111,7 @@ pub enum Event {
111
111
pub struct Push ( pub Info ) ;
112
112
113
113
impl Handler {
114
- /// Creates a new `IdentifyHandler `.
114
+ /// Creates a new `Handler `.
115
115
pub fn new ( initial_delay : Duration , interval : Duration , remote_peer_id : PeerId ) -> Self {
116
116
Self {
117
117
remote_peer_id,
You can’t perform that action at this time.
0 commit comments