Skip to content

Commit f8696b4

Browse files
committed
silence clippy warning (should be temporary)
track: rust-lang/rust-clippy#13464
1 parent 53e249c commit f8696b4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

bin/utils/src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ use beacon_api_client::{mainnet::Client, BlockId};
22
use mev_rs::{types::AuctionRequest, BlindedBlockRelayer, Relay, RelayEndpoint};
33
use url::Url;
44

5+
// TODO: Remove once this is fixed between clippy and tokio
6+
// https://github.com/rust-lang/rust-clippy/pull/13464
7+
#[allow(clippy::needless_return)]
58
#[tokio::main]
69
async fn main() {
710
let endpoint = Url::parse("http://localhost:5052").unwrap();

mev-boost-rs/tests/integration.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ fn create_proposers<R: rand::Rng>(rng: &mut R, count: usize) -> Vec<Proposer> {
6868
.collect()
6969
}
7070

71+
// TODO: Remove once this is fixed between clippy and tokio
72+
// https://github.com/rust-lang/rust-clippy/pull/13464
73+
#[allow(clippy::needless_return)]
7174
#[tokio::test]
7275
async fn test_end_to_end() {
7376
setup_logging();

0 commit comments

Comments
 (0)