Re: [PATCH 2/3] rust: kernel: move `build_error` hidden function to prevent mistakes
From: Alice Ryhl
Date: Mon Nov 25 2024 - 04:33:15 EST
On Mon, Nov 25, 2024 at 10:23 AM Miguel Ojeda
<miguel.ojeda.sandonis@xxxxxxxxx> wrote:
>
> On Mon, Nov 25, 2024 at 10:14 AM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
> >
> > You could also put #![doc(hidden)] at the top of build_assert.rs to
> > simplify the lib.rs list. Not sure what is best.
>
> Yeah, not sure. We used outer attributes for the rest of
> `doc(hidden)`s, including in the same file, so it is probably best to
> keep it consistent, unless we decide to move all to inner ones.
It might actually make sense to move all of them, I think. I find that
they make the list difficult to edit.
But feel free to pick whichever one you prefer for this change. My RB
applies with or without it :)
Alice