mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-08 23:08:19 -05:00
changed possible #[allow()] -> #[expect()] (#15168)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@@ -441,7 +441,7 @@ pub fn random_receipt<R: Rng>(
|
||||
) -> Receipt {
|
||||
let success = rng.gen::<bool>();
|
||||
let logs_count = logs_count.unwrap_or_else(|| rng.gen::<u8>());
|
||||
#[allow(clippy::needless_update)] // side-effect of optimism fields
|
||||
#[expect(clippy::needless_update)] // side-effect of optimism fields
|
||||
Receipt {
|
||||
tx_type: transaction.tx_type(),
|
||||
success,
|
||||
|
||||
Reference in New Issue
Block a user