Skip to content

Commit

Permalink
fix(bits)!: Remove tag
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Feb 13, 2024
1 parent 7eb666e commit caa3205
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/binary/bits/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,17 +331,6 @@ where
})
}

/// Deprecated, replaced with [`pattern`]
#[deprecated(since = "0.5.38", note = "Replaced with `pattern`")]
pub fn tag<I, O, C, E: ParserError<(I, usize)>>(p: O, count: C) -> impl Parser<(I, usize), O, E>
where
I: Stream<Token = u8> + AsBytes + StreamIsPartial + Clone,
C: ToUsize,
O: From<u8> + AddAssign + Shl<usize, Output = O> + Shr<usize, Output = O> + PartialEq,
{
pattern(p, count)
}

/// Parses one specific bit as a bool.
///
/// # Example
Expand Down

0 comments on commit caa3205

Please sign in to comment.