Skip to content

Commit

Permalink
Fix doc comment (#53)
Browse files Browse the repository at this point in the history
* Fix doc comment

* Fix missing slash
  • Loading branch information
ackintosh authored Nov 23, 2020
1 parent 77a48b4 commit 28ff599
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Result<Enr, RequestError>>),
/// A response from a TALK request
Talk(oneshot::Sender<Result<Vec<u8>, RequestError>>),
Expand Down
2 changes: 1 addition & 1 deletion src/socket/send.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<UdpSocket>,
Expand Down

0 comments on commit 28ff599

Please sign in to comment.