changed possible #[allow()] -> #[expect()] (#15168)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Ishika Choudhury
2025-03-22 14:22:17 +05:30
committed by GitHub
parent 35a5d050ed
commit f4f205f80c
112 changed files with 164 additions and 164 deletions

View File

@@ -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,