mirror of
https://github.com/smoltcp-rs/smoltcp.git
synced 2025-09-28 21:30:37 +00:00
Fix unused mut in examples/ping.rs. NFC.
This commit is contained in:
parent
83dba8ea31
commit
a4d0a7e39c
@ -35,7 +35,7 @@ macro_rules! send_icmp_ping {
|
||||
.send(icmp_repr.buffer_len(), $remote_addr)
|
||||
.unwrap();
|
||||
|
||||
let mut icmp_packet = $packet_type::new_unchecked(icmp_payload);
|
||||
let icmp_packet = $packet_type::new_unchecked(icmp_payload);
|
||||
(icmp_repr, icmp_packet)
|
||||
}}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user