🔇 remove `dbg!` macro call that looks bad when round-tripped through crates.io
parent
2864a26fe2
commit
2e4b723c18
|
@ -185,7 +185,6 @@ fn recv_msg_from (socket: &UdpSocket) -> Result <(Message, SocketAddr), AppError
|
||||||
{
|
{
|
||||||
let mut buf = vec! [0u8; PACKET_SIZE];
|
let mut buf = vec! [0u8; PACKET_SIZE];
|
||||||
let (bytes_recved, remote_addr) = socket.recv_from (&mut buf)?;
|
let (bytes_recved, remote_addr) = socket.recv_from (&mut buf)?;
|
||||||
dbg! (remote_addr);
|
|
||||||
buf.truncate (bytes_recved);
|
buf.truncate (bytes_recved);
|
||||||
let msg = Message::from_slice (&buf)?;
|
let msg = Message::from_slice (&buf)?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue