Re: [PATCH 1/2] rust: Add initial cpumask abstractions
From: Alice Ryhl
Date: Tue Feb 25 2025 - 06:39:43 EST
On Tue, Feb 25, 2025 at 12:36 PM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
>
> On 25-02-25, 12:34, Alice Ryhl wrote:
> > Hmm, ok. I would have expected it to format on one line:
> > unsafe { drop(KBox::from_raw(self.ptr)) };
>
> I did try this earlier and rustfmt suggested to format it the way I
> have done it currently :)
>
> > That is what normally happens when the semi-colon is outside the
> > block. Not sure why it did not happen in this case.
Very weird. I'd guess that the #[cfg] is at fault.
Alice