-
Notifications
You must be signed in to change notification settings - Fork 19
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 handling of inline tables #58
Conversation
I used this file and clippy -- -A clippy::all -D clippy::disallowed_methods to find the places I needed to fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ty! Would it be possible to get a test for this?
This will stop this bug sneaking back in. Doing this here saves having to duplicate all the tests with versions that use inline tables instead. (We'll have one test, though.)
I've added a single test case, which does indeed fail now for me locally if I revert "toml_edit tables: Use TableLike and .as_table_like". I considered how to prevent calls to I don't have much experience with github CI (I mostly work with gitlab) so I hope what I've done (a) looks sane and (b) works. |
Ty! All looks good. :) |
Thanks :-). |
Fixes #57
I think this may have been broken as a side effect of 56a40f1 apparently released in 1.3.0 (!)