Re: [PATCH 3/7] cpufreq: rcpufreq_dt: use vertical import style
Miguel Ojeda <[email protected]>
| Newsgroups | org.kernel.vger.linux-pwm,dev.linux.lists.driver-core,dev.linux.lists.nova-gpu,org.freedesktop.lists.dri-devel,org.infradead.lists.linux-riscv,org.kernel.vger.linux-block,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pm,org.kernel.vger.netdev,org.kernel.vger.rust-for-linux |
|---|---|
| Message-ID | <CANiq72=SQK7pd-fj+4MOb=E6=R-DHCcLcuCvN=us2E5o7Rcy2A@mail.gmail.com> |
On Mon, Jun 29, 2026 at 2:43 PM Zhongqiu Han <[email protected]> wrote: > > If the preferred style is to place each imported item on its own line, > shouldn't imports such as > > cpu, cpufreq, > > be formatted similarly as well? Indeed, good eyes. To do what we want, `rustfmt` needs the `//` at the end of that level too (in the future, it will be without the `//`), i.e. the patch probably passes `rustfmtcheck`, but it still needs to split that line and add the other `//`. Cheers, Miguel