[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72m5fiupZBaiyJZO5aykA382FrYutW15VPpxWzrhfGip7g@mail.gmail.com>
Date: Tue, 6 Jan 2026 00:41:51 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Daniel Almeida <daniel.almeida@...labora.com>
Cc: Danilo Krummrich <dakr@...nel.org>, gregkh@...uxfoundation.org, rafael@...nel.org,
ojeda@...nel.org, boqun.feng@...il.com, gary@...yguo.net,
bjorn3_gh@...tonmail.com, lossin@...nel.org, a.hindborg@...nel.org,
aliceryhl@...gle.com, tmgross@...ch.edu, david.m.ertman@...el.com,
ira.weiny@...el.com, leon@...nel.org, linux-kernel@...r.kernel.org,
rust-for-linux@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: [PATCH 4/5] rust: usb: use "kernel vertical" style for imports
On Mon, Jan 5, 2026 at 8:36 PM Daniel Almeida
<daniel.almeida@...labora.com> wrote:
>
> OOC: can rustfmt do this, or is it a manual process for the time being?
It does it if you add the `//`, but adding the `//` is manual, i.e. it
will do what you want but you have to trigger it by having the `//`:
https://docs.kernel.org/rust/coding-guidelines.html#imports
The goal is that `rustfmt` does exactly this, but without having to
write the `//` (and without needing/adding the `//` itself).
I hope that helps!
Cheers,
Miguel
Powered by blists - more mailing lists