I tried to set
trailing_comma = "Never" in
trailing_comma is not a stable function yet, so I set
unstable_features = true as well. But when I run rustfmt it doesn't seem to have any effect. I tried the same thing with the beta toolchain, and got the same results. When I run nightly it works though.
The reason I find this somewhat peculiar is because stable and beta seem to recognize the keyword, and the feature itself seems to have been around for a while. And the documentation hints that unstable features should be available in stable and beta as long as
unstable_features is set to
(We don't want to use nightly as two of our development systems at the office are unable to install nightly's
rustfmt on Windows).
Should trailing_comma + unstable_features be working on stable and beta?