Skip to content

Commit 370b147

Browse files
authored
Remove unneeded mut from send_ping(..) (#192)
1 parent 19342b3 commit 370b147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/discv5.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ impl<P: ProtocolIdentity> Discv5<P> {
318318

319319
/// Sends a PING request to a node.
320320
pub fn send_ping(
321-
&mut self,
321+
&self,
322322
enr: Enr,
323323
) -> impl Future<Output = Result<Pong, RequestError>> + 'static {
324324
let (callback_send, callback_recv) = oneshot::channel();

0 commit comments

Comments
 (0)