Skip to content

Clean `rustfmt` formatting and define imports style

Miguel Ojeda linux-patches lkml rust-for-linux 1 version Applied

Status from this message: Applied to `rust-fixes` (plus one I just sent to the list) -- thanks everyone!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3docs: rust: add section on imports formattingDocumentation/rust/coding-guidelines.rst+75 -00 replies
2/3rust: alloc: employ a trailing comment to keep vertical layoutrust/kernel/alloc/kvec.rs+1 -10 replies
3/3rust: cpufreq: fix formattingrust/kernel/cpufreq.rs+1 -21 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBenno LossinViresh Kumar
SeriesR-b
1/3
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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