Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable clippy's empty_line_after_outer_attr linter #7200

Merged
merged 1 commit into from Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.toml
Expand Up @@ -87,6 +87,7 @@ rust.unreachable_pub = "warn"
rustdoc.all = "warn"
rust.unused_must_use = "deny"
rust.rust_2018_idioms = "deny"
clippy.empty_line_after_outer_attr = "deny"

[workspace.package]
version = "0.2.0-beta.3"
Expand Down
1 change: 0 additions & 1 deletion crates/ethereum-forks/src/forkid.rs
Expand Up @@ -108,7 +108,6 @@ impl From<ForkFilterKey> for u64 {
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[cfg_attr(any(test, feature = "arbitrary"), derive(PropTestArbitrary, Arbitrary))]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, RlpEncodable, RlpDecodable, RlpMaxEncodedLen)]

pub struct ForkId {
/// CRC32 checksum of the all fork blocks and timestamps from genesis.
pub hash: ForkHash,
Expand Down
1 change: 0 additions & 1 deletion crates/net/eth-wire/src/errors/eth.rs
Expand Up @@ -79,7 +79,6 @@ impl From<alloy_rlp::Error> for EthStreamError {

/// Error that can occur during the `eth` sub-protocol handshake.
#[derive(thiserror::Error, Debug)]

pub enum EthHandshakeError {
/// Status message received or sent outside of the handshake process.
#[error("status message can only be recv/sent in handshake")]
Expand Down
1 change: 0 additions & 1 deletion crates/node-core/src/args/rpc_state_cache_args.rs
Expand Up @@ -7,7 +7,6 @@ use reth_rpc::eth::cache::{
/// Parameters to configure RPC state cache.
#[derive(Debug, Clone, Args, PartialEq, Eq)]
#[command(next_help_heading = "RPC State Cache")]

pub struct RpcStateCacheArgs {
/// Max number of blocks in cache.
#[arg(
Expand Down