Re: [PATCH 2/3] rust: kernel: move `build_error` hidden function to prevent mistakes

Miguel Ojeda
2024-11-25T09:23:51Z

On Mon, Nov 25, 2024 at 10:14 AM Alice Ryhl <aliceryhl@google.com> 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.

Thanks!

Cheers,
Miguel