pub fn uni_err_no_fail<I, O>( parser: impl FnMut(I) -> IResult<I, O, ()>) -> impl FnMut(I) -> NomRes<I, O, (), !>
137 138 139 140 141
pub fn tag<T: Clone + InputLength, I: InputTake + Compare<T>>( tag: T ) -> impl FnMut(I) -> NomRes<I, I, (), !> { uni_err_no_fail(nom::bytes::complete::tag(tag)) }