Open baoyachi opened 7 months ago
0.6.2
I noticed that in Winnow version 0.5.38, the tag function was discarded and replaced with literal. Related links: https://docs.rs/winnow/0.5.38/src/winnow/token/mod.rs.html#156 -163
tag
literal
But in ErrorKind, there is still an enumeration value for Tag, does this look like there is code ambiguity?
Related links: https://github.com/winnow-rs/winnow/pull/464/files
The ErrorKind code:https://github.com/winnow-rs/winnow/blob/df311c1d20ea8680b9852e73658fd400ac76513f/src/error.rs#L1075-L1085
Is it changed to be consistent with the literal
No response
Looks like I forgot to rename ErrorKind::Tag when I renamed tag.
ErrorKind::Tag
::Many is another one (should be ::Repeat)
::Many
::Repeat
Please complete the following tasks
winnow version
0.6.2
Describe your use case
I noticed that in Winnow version 0.5.38, the
tag
function was discarded and replaced withliteral
. Related links: https://docs.rs/winnow/0.5.38/src/winnow/token/mod.rs.html#156 -163But in ErrorKind, there is still an enumeration value for Tag, does this look like there is code ambiguity?
Related links: https://github.com/winnow-rs/winnow/pull/464/files
The ErrorKind code:https://github.com/winnow-rs/winnow/blob/df311c1d20ea8680b9852e73658fd400ac76513f/src/error.rs#L1075-L1085
Describe the solution you'd like
Is it changed to be consistent with the
literal
Alternatives, if applicable
No response
Additional Context
No response