Skip to content

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

Merged
Marwes merged 1 commit into
Marwes:masterfrom
epage:token
Jan 12, 2022
Merged

fix(easy): Only back-quote parser tokens#335
Marwes merged 1 commit into
Marwes:masterfrom
epage:token

Conversation

@epage

@epage epage commented Jan 11, 2022

Copy link
Copy Markdown
Contributor

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

@Marwes Marwes left a comment

Copy link
Copy Markdown
Owner

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

epage commented Jan 12, 2022

Copy link
Copy Markdown
Contributor Author

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

Marwes commented Jan 12, 2022

Copy link
Copy Markdown
Owner

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