From 612e24b6148c6965f7666d2fcaf1d57296355bf1 Mon Sep 17 00:00:00 2001 From: Chris Mikkelson Date: Fri, 16 Aug 2024 10:47:36 -0500 Subject: [PATCH] Remove blanket dead code warning suppression --- src/lib.rs | 1 - src/source.rs | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 4a536c0..ceb7f4d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,3 @@ -#![allow(dead_code)] pub mod entry; pub use entry::Entry; diff --git a/src/source.rs b/src/source.rs index 535fe5a..b1bd9b6 100644 --- a/src/source.rs +++ b/src/source.rs @@ -68,6 +68,8 @@ pub struct BoxedSource<'a>( > + 'a, >, ); + +#[allow(dead_code)] impl<'a> BoxedSource<'a> { fn from(source: S) -> Self { Self(Box::new(BoxWrap(source, PhantomData))) -- 2.50.1