Supress clippy error

This commit is contained in:
Andy Wang 2022-08-27 08:19:33 +01:00
parent 0f9e009987
commit 6dea99ec71
No known key found for this signature in database
GPG Key ID: 181B49F9F38F3374

View File

@ -306,6 +306,7 @@ fn buffered_write(
Ok(())
}
#[allow(clippy::if_same_then_else, clippy::needless_bool)]
/// Selects a valid store element in the buffer.
fn fetch_store<R: rand::Rng + ?Sized>(
&self,