[PATCH 0/3] Clean `rustfmt` formatting and define imports style

From: Miguel Ojeda

Date: Fri Oct 10 2025 - 13:44:34 EST


Hi Linus,

Please see these commits, especially the documentation one. It is a
follow-up of the discussion on `rustfmt`.

If you are OK with it, please pick them up for -rc1 -- this should make
CIs green and let people work easily after -rc1, which would help even
if we decide to do something differently later on.

I can send a quick PR if you prefer.

Thanks!

Miguel Ojeda (3):
docs: rust: add section on imports formatting
rust: alloc: employ a trailing comment to keep vertical layout
rust: cpufreq: fix formatting

Documentation/rust/coding-guidelines.rst | 75 ++++++++++++++++++++++++
rust/kernel/alloc/kvec.rs | 2 +-
rust/kernel/cpufreq.rs | 3 +-
3 files changed, 77 insertions(+), 3 deletions(-)

--
2.51.0