[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251018182800.1592965-1-ojeda@kernel.org>
Date: Sat, 18 Oct 2025 20:28:00 +0200
From: Miguel Ojeda <ojeda@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>,
Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <lossin@...nel.org>,
Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>,
Trevor Gross <tmgross@...ch.edu>,
Danilo Krummrich <dakr@...nel.org>,
rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [GIT PULL] Rust 'rustfmt'
Hi Linus,
This is the PR for:
https://lore.kernel.org/rust-for-linux/20251010174351.948650-1-ojeda@kernel.org/
It has only been a day in linux-next, but it is trivial. I based this
on a non-tag because there was one more change merged this week.
No conflicts expected. No functional changes intended.
Please pull -- thanks!
Cheers,
Miguel
The following changes since commit 98ac9cc4b4452ed7e714eddc8c90ac4ae5da1a09:
Merge tag 'f2fs-fix-6.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs (2025-10-16 10:58:49 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux.git tags/rust-rustfmt
for you to fetch changes up to 1f1d3e1d094db732d22b892227bf1e1ac3a8ca04:
rust: bitmap: fix formatting (2025-10-17 13:02:22 +0200)
----------------------------------------------------------------
Rust 'rustfmt' cleanup
'rustfmt', by default, formats imports in a way that is prone to
conflicts while merging and rebasing, since in some cases it condenses
several items into the same line.
Document in our guidelines that we will handle this for the moment with
the trailing empty comment workaround and make the tree 'rustfmt'-clean
again.
----------------------------------------------------------------
Miguel Ojeda (4):
docs: rust: add section on imports formatting
rust: alloc: employ a trailing comment to keep vertical layout
rust: cpufreq: fix formatting
rust: bitmap: fix formatting
Documentation/rust/coding-guidelines.rst | 75 ++++++++++++++++++++++++++++++++
rust/kernel/alloc/kvec.rs | 2 +-
rust/kernel/bitmap.rs | 8 +++-
rust/kernel/cpufreq.rs | 3 +-
4 files changed, 83 insertions(+), 5 deletions(-)
Powered by blists - more mailing lists