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

reformat dotted keys as inline tables #682

Open
benluelo opened this issue Sep 22, 2024 · 0 comments
Open

reformat dotted keys as inline tables #682

benluelo opened this issue Sep 22, 2024 · 0 comments

Comments

@benluelo
Copy link

in Cargo.toml files, a common pattern to see is dep.workspace = true. this is quite noisy as it pollutes the lhs of the assignment, so i typically prefer dep = { workspace = true } (which also has the nice benefit of working nicely with align_entries). an option to convert a.b = c to a = { b = c } would be great!

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

No branches or pull requests

1 participant