rand_hc: Fix clippy warnings

This commit is contained in:
Vinzent Steinberg
2021-05-08 21:36:12 -03:00
parent 67f491a7a5
commit aee00443d4
+6
View File
@@ -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;