From 5cba28972a135f2d27b02b9c0b4c9b2ec4b2d17a Mon Sep 17 00:00:00 2001 From: snoppy Date: Thu, 28 Mar 2024 09:45:14 +0800 Subject: [PATCH] chore: fix typos --- src/lib.rs | 2 +- src/socket/recv.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 5008070bc..b250ffa17 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -24,7 +24,7 @@ //! undergoes a handshake, which results in a `Session`. These are established when needed and get //! dropped after a timeout. The creation and maintenance of sessions between nodes and the //! encryption/decryption of packets from the socket is realised by the [`handler::Handler`] struct -//! runnning in its own task. +//! running in its own task. //! - [`service`]: Contains the protocol-level logic. The [`service::Service`] manages the routing //! table of known ENR's, and performs parallel queries for peer discovery. It also runs in it's //! own task. diff --git a/src/socket/recv.rs b/src/socket/recv.rs index a300a09e0..76969c0cd 100644 --- a/src/socket/recv.rs +++ b/src/socket/recv.rs @@ -160,7 +160,7 @@ impl RecvHandler { // Since the Enr has no way to communicate scope ids, we opt for zeroing this data in order // to facilitate connectivity for nodes with a link-local address with an only interface. // - // At the same time, we accept the risk of colission of nodes in a topology where there are + // At the same time, we accept the risk of collision of nodes in a topology where there are // multiple interfaces and two nodes with the same link-local address. This risk is small // based in additional checks to packets. if let SocketAddr::V6(ref mut v6_socket_addr) = src_address {