Open TheButlah opened 5 months ago
I use a specific rustfmt.toml
locally, I'd like to vendor it, but many useful option are nightly at the moment.
My local:
imports_granularity = "Item"
format_code_in_doc_comments = true
and that's why I ignored it for now.
.rustfmt.toml
(hidden file); that should help keeping root directly a little bit "cleaner"It is good to vendor a +nightly configuration?
I know some people do this, but since it eliminates the ability to use standard toolchain pinning via rust-toolchain (if you also want to build with stable), I don't personally advocate for nightly rustfmt.
I think I know a good setup for this:
Its nice to have a vendored rustfmt.toml. because when people use settings that differ from the defaults, the rustfmt.toml will take precedence.