From e833268d66428bc36cdd55474d5361fc062574c7 Mon Sep 17 00:00:00 2001 From: Andrew Dona-Couch Date: Fri, 14 Aug 2020 13:22:45 -0400 Subject: [PATCH] Allow unused FieldReader --- src/generate/generic.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/generate/generic.rs b/src/generate/generic.rs index c539badd..b7e22e40 100644 --- a/src/generate/generic.rs +++ b/src/generate/generic.rs @@ -243,6 +243,7 @@ where U: Copy, { /// Creates a new instance of the reader. + #[allow(unused)] #[inline(always)] pub(crate) fn new(bits: U) -> Self { Self {