Skip to content

Commit

Permalink
silence clippy warning (should be temporary)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralexstokes committed Oct 1, 2024
1 parent 53e249c commit f8696b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/utils/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ use beacon_api_client::{mainnet::Client, BlockId};
use mev_rs::{types::AuctionRequest, BlindedBlockRelayer, Relay, RelayEndpoint};
use url::Url;

// TODO: Remove once this is fixed between clippy and tokio
// https://github.com/rust-lang/rust-clippy/pull/13464
#[allow(clippy::needless_return)]
#[tokio::main]
async fn main() {
let endpoint = Url::parse("http://localhost:5052").unwrap();
Expand Down
3 changes: 3 additions & 0 deletions mev-boost-rs/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ fn create_proposers<R: rand::Rng>(rng: &mut R, count: usize) -> Vec<Proposer> {
.collect()
}

// TODO: Remove once this is fixed between clippy and tokio
// https://github.com/rust-lang/rust-clippy/pull/13464
#[allow(clippy::needless_return)]
#[tokio::test]
async fn test_end_to_end() {
setup_logging();
Expand Down

0 comments on commit f8696b4

Please sign in to comment.