Skip to content

Commit

Permalink
Revert clippy fix
Browse files Browse the repository at this point in the history
Box is not an iter
  • Loading branch information
van-sprundel committed Oct 12, 2024
1 parent 4d34d40 commit b117a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ntpd/src/daemon/keyexchange.rs
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ mod tests {

fn client_key_exchange_message_length() -> usize {
let mut buffer = Vec::with_capacity(1024);
for record in &ntp_proto::NtsRecord::client_key_exchange_records(vec![]) {
for record in ntp_proto::NtsRecord::client_key_exchange_records(vec![]).iter() {
record.write(&mut buffer).unwrap();
}

Expand Down

0 comments on commit b117a79

Please sign in to comment.