From c788061384dbe7acffb0a6ee13e9afe1926f728f Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Mon, 31 Mar 2025 08:44:55 -0700 Subject: [PATCH] inout: fixup clippy 1.85 warnings --- inout/src/reserved.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inout/src/reserved.rs b/inout/src/reserved.rs index a52a64c7..abc0c091 100644 --- a/inout/src/reserved.rs +++ b/inout/src/reserved.rs @@ -149,9 +149,9 @@ impl<'inp, 'out, T> InOutBufReserved<'inp, 'out, T> { } } +#[cfg(feature = "block-padding")] impl<'inp, 'out> InOutBufReserved<'inp, 'out, u8> { /// Transform buffer into [`PaddedInOutBuf`] using padding algorithm `P`. - #[cfg(feature = "block-padding")] #[inline(always)] pub fn into_padded_blocks(self) -> Result, PadError> where