On 2/19/2026 8:56 PM, Alexandre Courbot wrote: > On Fri Feb 20, 2026 at 12:31 AM JST, Joel Fernandes wrote: >> On Thu, Feb 19, 2026 at 02:13:37PM +0900, Alexandre Courbot wrote: >>>> + types::Opaque, >>> >>> Need a `//` or `rustfmt` will reformat. >> >> Fixed, thanks. >> >>>> +// SAFETY: [`GpuBuddyInner`] can be sent between threads. >>> >>> No need to link on non-doccomments. >> >> Fixed. Removed the brackets from SAFETY comments for GpuBuddyInner >> and GpuBuddyGuard. >> >>>> +/// - `buddy` references a valid [`GpuBuddyInner`]. >>> >>> rustdoc complains that this links to a private item in a public doc - we >>> should not mention `GpuBuddyInner` here. >> >> Per Miguel's reply, I've kept the mention but removed the square >> brackets so it doesn't try to create a link. This way it's still >> mentioned for practical reference without triggering the rustdoc >> warning. > > Won't it be confusing for readers of the public documentation? If a type > is private, it shouldn't be needed to folks who read the HTML. > > This sounds like we instead want a regular `//` comment somewhere to > guide those who brave the code. You are right about the audience of the docs perhaps not requiring this information. I will remove it then. thanks, -- Joel Fernandes
- Re: [PATCH v10 7/8] nova-core: mm: Select GPU_B... John Hubbard
- Re: [PATCH v10 7/8] nova-core: mm: Select G... Joel Fernandes
- Re: [PATCH v10 7/8] nova-core: mm: Select GPU_B... Joel Fernandes
- Re: [PATCH v10 7/8] nova-core: mm: Select GPU_B... Joel Fernandes
- [PATCH v10 6/8] rust: gpu: Add GPU buddy allocator bindi... Joel Fernandes
- Re: [PATCH v10 6/8] rust: gpu: Add GPU buddy alloca... Alexandre Courbot
- Re: [PATCH v10 6/8] rust: gpu: Add GPU buddy al... Miguel Ojeda
- Re: [PATCH v10 6/8] rust: gpu: Add GPU budd... Joel Fernandes
- Re: [PATCH v10 6/8] rust: gpu: Add GPU buddy al... Joel Fernandes
- Re: [PATCH v10 6/8] rust: gpu: Add GPU budd... Alexandre Courbot
- Re: [PATCH v10 6/8] rust: gpu: Add GPU ... Joel Fernandes
- Re: [PATCH v10 6/8] rust: gpu: Add GPU buddy alloca... Danilo Krummrich
- Re: [PATCH v10 6/8] rust: gpu: Add GPU buddy al... Joel Fernandes
- Re: [PATCH v10 6/8] rust: gpu: Add GPU buddy alloca... Eliot Courtney
- Re: [PATCH v10 6/8] rust: gpu: Add GPU buddy al... Joel Fernandes
- Re: [PATCH v10 6/8] rust: gpu: Add GPU budd... Joel Fernandes
- Re: [PATCH v10 6/8] rust: gpu: Add GPU budd... Danilo Krummrich
- Re: [PATCH v10 6/8] rust: gpu: Add GPU ... Joel Fernandes
- Re: [PATCH v10 6/8] rust: gpu: Add... Danilo Krummrich
- Re: [PATCH v10 6/8] rust: gpu:... Joel Fernandes
- [PATCH v10 8/8] nova-core: Kconfig: Sort select statemen... Joel Fernandes
