Fix clippy warnings on 1.53

Fix `clippy::inconsistent_struct_constructor`: the constructor field
order was inconsistent with the struct declaration.
This commit is contained in:
Alekos Filini committed 2021-06-21 12:16:45 +02:00
1 parent 67714adc80
commit 5e6286a493
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -227,12 +227,12 @@ impl Peer {
Ok(Peer {
writer,
reader_thread,
responses,
reader_thread,
connected,
mempool,
network,
version,
network,
})
}