Skip to content

Commit

Permalink
chore(lint): remove stale #[allow(clippy::unused_async)] (#4311)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanabi1224 authored May 10, 2024
1 parent 781a150 commit ea05438
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/metrics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ async fn collect_prometheus_metrics() -> impl IntoResponse {
)
}

#[allow(clippy::unused_async)]
async fn collect_db_metrics<DB>(
axum::extract::State(db): axum::extract::State<Arc<DB>>,
) -> impl IntoResponse
Expand Down
1 change: 0 additions & 1 deletion src/rpc/methods/eth.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright 2019-2024 ChainSafe Systems
// SPDX-License-Identifier: Apache-2.0, MIT
#![allow(clippy::unused_async)]

use super::gas;
use crate::blocks::{Tipset, TipsetKey};
Expand Down
1 change: 0 additions & 1 deletion src/rpc/methods/gas.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright 2019-2024 ChainSafe Systems
// SPDX-License-Identifier: Apache-2.0, MIT
#![allow(clippy::unused_async)]

use crate::chain::{BASE_FEE_MAX_CHANGE_DENOM, BLOCK_GAS_TARGET};
use crate::message::{ChainMessage, Message as MessageTrait, SignedMessage};
Expand Down
1 change: 0 additions & 1 deletion src/rpc/methods/state.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright 2019-2024 ChainSafe Systems
// SPDX-License-Identifier: Apache-2.0, MIT
#![allow(clippy::unused_async)]

mod types;
pub use types::*;
Expand Down

0 comments on commit ea05438

Please sign in to comment.