Skip to content

Commit

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

/// Deprecated, replaced with [`literal`]
#[deprecated(since = "0.5.38", note = "Replaced with `literal`")]
pub fn tag<T, I, Error: ParserError<I>>(tag: T) -> impl Parser<I, <I as Stream>::Slice, Error>
where
I: StreamIsPartial,
I: Stream + Compare<T>,
T: SliceLen + Clone + crate::lib::std::fmt::Debug,
{
literal(tag)
}

fn literal_<T, I, Error: ParserError<I>, const PARTIAL: bool>(
i: &mut I,
t: T,
Expand Down

0 comments on commit 7eb666e

Please sign in to comment.