From d57b9453d9f01ebc29dd73d50d82ab6ebe963822 Mon Sep 17 00:00:00 2001 From: Constantin Nickel Date: Fri, 6 Nov 2020 14:18:50 +0100 Subject: [PATCH] Remove #[deprecated] attribute from trait impl block > Deprecation attributes have no effect on trait implementations. --- src/traits.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/traits.rs b/src/traits.rs index 14b6090eb..2710bdd2e 100644 --- a/src/traits.rs +++ b/src/traits.rs @@ -38,7 +38,6 @@ impl<'a> InputLength for &'a str { } } -#[deprecated(since = "6.0.0", note = "Use `BitSlice`")] impl<'a> InputLength for (&'a [u8], usize) { #[inline] fn input_len(&self) -> usize {