From bf43e536d36d76b57edef887b9430a5d2a3ac9b2 Mon Sep 17 00:00:00 2001 From: Danny McClanahan <1305167+cosmicexplorer@users.noreply.github.com> Date: Mon, 15 Jul 2024 21:24:46 -0400 Subject: [PATCH] add dead_code to methods we don't use yet --- src/read/split.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/read/split.rs b/src/read/split.rs index 7c5d6591f..8704844dc 100644 --- a/src/read/split.rs +++ b/src/read/split.rs @@ -1072,11 +1072,13 @@ pub mod util { Self { inner, limit } } + #[allow(dead_code)] #[inline(always)] pub const fn limit(&self) -> u64 { self.limit } + #[allow(dead_code)] pub fn into_inner(self) -> W { self.inner }