From 7eb666e4646b8100c34aad0614f4e955d27c7605 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 12 Feb 2024 20:52:29 -0600 Subject: [PATCH] fix(token)!: Remove tag --- src/token/mod.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/token/mod.rs b/src/token/mod.rs index b9b00a56..265d6dd5 100644 --- a/src/token/mod.rs +++ b/src/token/mod.rs @@ -150,17 +150,6 @@ where }) } -/// Deprecated, replaced with [`literal`] -#[deprecated(since = "0.5.38", note = "Replaced with `literal`")] -pub fn tag>(tag: T) -> impl Parser::Slice, Error> -where - I: StreamIsPartial, - I: Stream + Compare, - T: SliceLen + Clone + crate::lib::std::fmt::Debug, -{ - literal(tag) -} - fn literal_, const PARTIAL: bool>( i: &mut I, t: T,