Clippy
This commit is contained in:
committed by
mergify[bot]
parent
293a0d8797
commit
350bb561eb
@ -33,6 +33,7 @@ use {
|
||||
},
|
||||
};
|
||||
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
enum NodeId {
|
||||
// TVU node obtained through gossip (staked or not).
|
||||
ContactInfo(ContactInfo),
|
||||
|
@ -95,6 +95,7 @@ impl FetchStage {
|
||||
{
|
||||
inc_new_counter_debug!("fetch_stage-honor_forwards", len);
|
||||
for packets in batch {
|
||||
#[allow(clippy::question_mark)]
|
||||
if sendr.send(packets).is_err() {
|
||||
return Err(Error::Send);
|
||||
}
|
||||
|
Reference in New Issue
Block a user