clippies
This commit is contained in:
parent
84860feac4
commit
6dacc3a52f
@ -1,7 +1,5 @@
|
||||
use clap;
|
||||
use std::fmt;
|
||||
use std::net::{IpAddr, Ipv4Addr, SocketAddr, UdpSocket};
|
||||
use std::ops::Index;
|
||||
use std::net::{IpAddr, UdpSocket};
|
||||
|
||||
use crc32fast::hash;
|
||||
use log::warn;
|
||||
@ -74,7 +72,7 @@ impl TxId {
|
||||
|
||||
let fp = fingerprint(&buf);
|
||||
buf.extend(ATTR_NUM_FINGERPRINT.to_be_bytes());
|
||||
buf.extend((4 as u16).to_be_bytes());
|
||||
buf.extend(4_u16.to_be_bytes());
|
||||
buf.extend(&fp.to_be_bytes());
|
||||
|
||||
buf
|
||||
|
Loading…
x
Reference in New Issue
Block a user