Skip to content

Commit

Permalink
chore: clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
gschup committed Jun 1, 2024
1 parent eca5b16 commit bb2522c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ impl<T: Config> UdpProtocol<T> {

body.ack_frame = self.last_recv_frame();
body.disconnect_requested = self.state == ProtocolState::Disconnected;
body.peer_connect_status = connect_status.to_owned();
connect_status.clone_into(&mut body.peer_connect_status);

self.queue_message(MessageBody::Input(body));
}
Expand Down

0 comments on commit bb2522c

Please sign in to comment.