From 0b30cfcd38b6aff86861e4ef013bc822ebf6f286 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Sat, 8 Mar 2025 08:39:05 +1100 Subject: [PATCH] Remove unnecessary clippy attribute This attribute was mistakenly left in during dev/review cycle in #159, it serves no purpose. --- src/buf_encoder.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/buf_encoder.rs b/src/buf_encoder.rs index c643c2f..97ab8a6 100644 --- a/src/buf_encoder.rs +++ b/src/buf_encoder.rs @@ -49,7 +49,6 @@ impl BufEncoder { /// Creates an empty `BufEncoder` that will encode bytes to hex characters in the given case. #[inline] - #[allow(clippy::let_unit_value)] // Allow the unit value of the const check pub fn new(case: Case) -> Self { let () = Self::_CHECK_EVEN_CAPACITY; BufEncoder { buf: ArrayString::new(), table: case.table() }