Run cargo clippy --fix and cargo fmt

This commit is contained in:
Joakim Frostegård 2024-01-20 09:56:14 +01:00
parent 22e151d0f0
commit 5401eaf85f
28 changed files with 94 additions and 107 deletions

View file

@ -234,7 +234,7 @@ mod tests {
let len = bytes.len();
(&mut peer_id.0[..len]).copy_from_slice(bytes);
peer_id.0[..len].copy_from_slice(bytes);
peer_id
}