From d0ca28beca41afe3531b0ba3084e80dc2aa15071 Mon Sep 17 00:00:00 2001 From: "hinto.janai" Date: Thu, 28 Nov 2024 15:46:34 -0500 Subject: [PATCH] clippy fix --- benches/criterion/cuprate-cryptonight/benches/hash.rs | 2 +- benches/criterion/cuprate-rpc-types/benches/serde.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/benches/criterion/cuprate-cryptonight/benches/hash.rs b/benches/criterion/cuprate-cryptonight/benches/hash.rs index 552c3fc..13dd906 100644 --- a/benches/criterion/cuprate-cryptonight/benches/hash.rs +++ b/benches/criterion/cuprate-cryptonight/benches/hash.rs @@ -32,7 +32,7 @@ macro_rules! impl_hash_benchmark { // - The name of the benchmark function // - The input(s) to the hash function for that benchmark function $( - $fn_name:ident => ($($input:expr),* $(,)?) + $fn_name:ident => ($($input:expr_2021),* $(,)?) ),* $(,)? } )*) => { diff --git a/benches/criterion/cuprate-rpc-types/benches/serde.rs b/benches/criterion/cuprate-rpc-types/benches/serde.rs index 8c3c3cf..2f61248 100644 --- a/benches/criterion/cuprate-rpc-types/benches/serde.rs +++ b/benches/criterion/cuprate-rpc-types/benches/serde.rs @@ -27,7 +27,7 @@ macro_rules! generate_serde_benchmarks { ( $( // The type to test => JSON of that type - $t:ty => $t_example:expr + $t:ty => $t_example:expr_2021 ),* $(,)? ) => { paste::paste! { // Generate the benchmarking functions.