ignoring pedantic clippy lints from ephemera
This commit is contained in:
@@ -43,6 +43,7 @@ pub(crate) enum BlockManagerError {
|
||||
BlockManager(#[from] anyhow::Error),
|
||||
}
|
||||
|
||||
#[allow(clippy::struct_field_names)] // this should get resolved properly at some point, but not now...
|
||||
/// It helps to use atomic state management for new blocks.
|
||||
pub(crate) struct BlockChainState {
|
||||
pub(crate) last_blocks: LruCache<Hash, Block>,
|
||||
|
||||
@@ -102,6 +102,8 @@ pub(crate) struct Peer {
|
||||
/// assert_eq!(peer_id, public_key.peer_id());
|
||||
///
|
||||
/// ```
|
||||
#[allow(clippy::struct_field_names)]
|
||||
// this should get resolved properly at some point, but not now...
|
||||
pub peer_id: PeerId,
|
||||
/// The peer's public key. It matches PeerId.
|
||||
pub public_key: PublicKey,
|
||||
|
||||
Reference in New Issue
Block a user