1
Fork 0

Remove unused macro rules

This commit is contained in:
est31 2022-04-17 14:18:08 +02:00
parent 8305398d7a
commit 3c1e1661e7
7 changed files with 0 additions and 58 deletions

View file

@ -498,7 +498,6 @@ macro_rules! peel {
/// Therefore, the recursion depth is the binary logarithm of the number of
/// tokens to count, and the expanded tree is likewise very small.
macro_rules! count {
() => (0usize);
($one:tt) => (1usize);
($($pairs:tt $_p:tt)*) => (count!($($pairs)*) << 1usize);
($odd:tt $($rest:tt)*) => (count!($($rest)*) | 1usize);