Cargo fmt formatting toml file?

Does cargo fmt format toml files?
If not what could do it?
Mysteriously toml files are formatted by something.
I use vscode.
Any idea what could it be if not cargo fmt?

Do you have the vscode toml plugin with format-on-save feature enabled?

2 Likes

I use the Even Better TOML vscode extension, it works very well.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.