Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(easy): Only back-quote parser tokens #335

Merged
merged 1 commit into from
Jan 12, 2022
Merged

Conversation

epage
Copy link
Contributor

@epage epage commented Jan 11, 2022

When reviewing cargo moving fron toml-rs (hand-rolled parser) to
toml_edit (combine-based parser), one piece of feedback was about
only wanting tokens quoted and not textual descriptions. It looks like
combine tracks all of the needed information and just a re-formatting
of the output is needed.

Fixes #334

When reviewing cargo moving fron `toml-rs` (hand-rolled parser) to
`toml_edit` (`combine`-based parser), one piece of feedback was about
only wanting tokens quoted and not textual descriptions.  It looks like
`combine` tracks all of the needed information and just a re-formatting
of the output is needed.

Fixes Marwes#334
Copy link
Owner

@Marwes Marwes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I misunderstood the issue then LGTM.

@epage
Copy link
Contributor Author

epage commented Jan 12, 2022

Is there an ETA on a merge and release for this? This is the only remaining blocker for rust-lang/cargo#10086 (merging toml_edit into cargo). #336 has less of an impact and so they aren't blocking on it.

@Marwes Marwes merged commit 64a2f15 into Marwes:master Jan 12, 2022
@epage epage deleted the token branch January 12, 2022 19:02
@Marwes
Copy link
Owner

Marwes commented Jan 12, 2022

Had issues with travis-ci yesterday so had to switch to, and wait for github actions (and then I forgot about it). Rleeased now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

expected error strings always quote what was expected, even if it isn't a literal
2 participants