mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-21 22:04:44 +00:00
Apply clippy lints to beacon node
This commit is contained in:
@@ -22,8 +22,11 @@ use std::time::Duration;
|
||||
use tokio::io::{AsyncRead, AsyncWrite};
|
||||
|
||||
pub(crate) mod codec;
|
||||
#[allow(clippy::type_complexity)]
|
||||
#[allow(clippy::congitive_complexity)]
|
||||
mod handler;
|
||||
pub mod methods;
|
||||
#[allow(clippy::type_complexity)]
|
||||
mod protocol;
|
||||
|
||||
/// The return type used in the behaviour and the resultant event from the protocols handler.
|
||||
@@ -77,7 +80,7 @@ impl<TSubstream> RPC<TSubstream> {
|
||||
RPC {
|
||||
events: Vec::new(),
|
||||
marker: PhantomData,
|
||||
log: log,
|
||||
log,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user