From aee00443d4cb6bbceea7c48aa31126add959ec24 Mon Sep 17 00:00:00 2001 From: Vinzent Steinberg Date: Sat, 8 May 2021 21:36:12 -0300 Subject: [PATCH] rand_hc: Fix clippy warnings --- rand_hc/src/hc128.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rand_hc/src/hc128.rs b/rand_hc/src/hc128.rs index 94d75778..cedd2cb6 100644 --- a/rand_hc/src/hc128.rs +++ b/rand_hc/src/hc128.rs @@ -6,6 +6,12 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// Disable some noisy clippy lints. +#![allow(clippy::many_single_char_names)] +#![allow(clippy::identity_op)] +// Disable a lint that cannot be fixed without increasing the MSRV +#![allow(clippy::op_ref)] + //! The HC-128 random number generator. use core::fmt;