diff --git a/src/service.rs b/src/service.rs index 7dedd640d..3986286a2 100644 --- a/src/service.rs +++ b/src/service.rs @@ -135,7 +135,7 @@ struct ActiveRequest { /// The kinds of responses we can send back to the discv5 layer. pub enum CallbackResponse { - // A response to a requested ENR. + /// A response to a requested ENR. Enr(oneshot::Sender>), /// A response from a TALK request Talk(oneshot::Sender, RequestError>>), diff --git a/src/socket/send.rs b/src/socket/send.rs index 503c2e60b..5e6cd61b7 100644 --- a/src/socket/send.rs +++ b/src/socket/send.rs @@ -14,7 +14,7 @@ pub struct OutboundPacket { pub packet: Packet, } -/// The main task that handles inbound UDP packets. +/// The main task that handles outbound UDP packets. pub(crate) struct SendHandler { /// The UDP send socket. send: Arc,