Skip to content

Commit

Permalink
Remove #[deprecated] attribute from trait impl block
Browse files Browse the repository at this point in the history
> Deprecation attributes have no effect on trait implementations.
  • Loading branch information
nickelc authored and Geal committed Nov 24, 2020
1 parent 24f7622 commit 2dd7013
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2dd7013

Please sign in to comment.