[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aMPUxZoV9BCqDg0y@google.com>
Date: Fri, 12 Sep 2025 08:07:33 +0000
From: Alice Ryhl <aliceryhl@...gle.com>
To: Miguel Ojeda <ojeda@...nel.org>
Cc: "Liam R . Howlett" <Liam.Howlett@...cle.com>, Alex Gaynor <alex.gaynor@...il.com>,
Andrew Ballance <andrewjballance@...il.com>, maple-tree@...ts.infradead.org,
linux-mm@...ck.org, Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
"Björn Roy Baron" <bjorn3_gh@...tonmail.com>, Benno Lossin <lossin@...nel.org>,
Andreas Hindborg <a.hindborg@...nel.org>, Trevor Gross <tmgross@...ch.edu>,
Danilo Krummrich <dakr@...nel.org>, rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org, patches@...ts.linux.dev
Subject: Re: [PATCH] rust: maple_tree: fix intra-doc link
On Wed, Sep 10, 2025 at 04:02:12PM +0200, Miguel Ojeda wrote:
> A couple `Occupied` intra-doc links are broken:
>
> error: unresolved link to `Occupied`
> --> rust/kernel/maple_tree.rs:96:46
> |
> 96 | /// return an [`InsertError`] with the [`Occupied`] kind. It may also fail if memory
> | ^^^^^^^^ no item named `Occupied` in scope
> |
> = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
> = note: `-D rustdoc::broken-intra-doc-links` implied by `-D warnings`
> = help: to override `-D warnings` add `#[allow(rustdoc::broken_intra_doc_links)]`
>
> error: unresolved link to `Occupied`
> --> rust/kernel/maple_tree.rs:135:36
> |
> 135 | /// [`InsertError`] with the [`Occupied`] kind. It may also fail if memory allocation fails
> | ^^^^^^^^ no item named `Occupied` in scope
> |
> = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
>
> Thus fix them.
>
> Fixes: 7f51d867d2ed ("rust: maple_tree: add MapleTree")
> Signed-off-by: Miguel Ojeda <ojeda@...nel.org>
Reviewed-by: Alice Ryhl <aliceryhl@...gle.com>
Powered by blists - more mailing lists