Skip to content

Commit cff7c4a

Browse files
committed
Identify: rename pending IdentifyHandler references on doc.
1 parent 1c2712c commit cff7c4a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

protocols/identify/src/behaviour.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ mod tests {
618618

619619
// nb. Either swarm may receive the `Identified` event first, upon which
620620
// 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
622622
// either `Identified` event arrives correctly.
623623
async_std::task::block_on(async move {
624624
loop {

protocols/identify/src/handler.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ pub struct Handler {
9292
interval: Duration,
9393
}
9494

95-
/// Event produced by the `IdentifyHandler`.
95+
/// Event produced by the `Handler`.
9696
#[derive(Debug)]
9797
#[allow(clippy::large_enum_variant)]
9898
pub enum Event {
@@ -111,7 +111,7 @@ pub enum Event {
111111
pub struct Push(pub Info);
112112

113113
impl Handler {
114-
/// Creates a new `IdentifyHandler`.
114+
/// Creates a new `Handler`.
115115
pub fn new(initial_delay: Duration, interval: Duration, remote_peer_id: PeerId) -> Self {
116116
Self {
117117
remote_peer_id,

0 commit comments

Comments
 (0)