Hacker News new | ask | show | jobs
by the__alchemist 485 days ago
Hi! Does anyone know why I still, after updating `rustup` and the `edition` in `Cargo.toml`, need to run `cargo +nightly fmt `? I have a `rustfmt.toml` that contains this:

  imports_granularity = "Crate"
  group_imports = "StdExternalCrate"
I assumed those would be in, as they've been nightly features for years, and we just got a new edition.
1 comments

> I assumed those would be in,

A new edition doesn't mean features are automatically stabilized.

I agree with these two specifically, it would be great to have them in stable. They're not yet though: https://github.com/rust-lang/rustfmt/issues/5083

Thank you for the explanation!
No problem. I have to use nightly for this reason too, haha.