diff --git a/protocols/kad/src/behaviour/test.rs b/protocols/kad/src/behaviour/test.rs index bf7af0128f0..467865dd225 100644 --- a/protocols/kad/src/behaviour/test.rs +++ b/protocols/kad/src/behaviour/test.rs @@ -1381,7 +1381,7 @@ fn network_behaviour_on_address_change() { port_use: PortUse::Reuse, }; - // Mimick a connection being established. + // Mimic a connection being established. kademlia.on_swarm_event(FromSwarm::ConnectionEstablished(ConnectionEstablished { peer_id: remote_peer_id, connection_id, @@ -1403,7 +1403,7 @@ fn network_behaviour_on_address_change() { .unwrap() .is_empty()); - // Mimick the connection handler confirming the protocol for + // Mimic the connection handler confirming the protocol for // the test connection, so that the peer is added to the routing table. kademlia.on_connection_handler_event( remote_peer_id,