From: Alice Ryhl <aliceryhl@google.com>
To: Miguel Ojeda <ojeda@kernel.org>
Cc: "Liam R . Howlett" <Liam.Howlett@oracle.com>,
"Alex Gaynor" <alex.gaynor@gmail.com>,
"Andrew Ballance" <andrewjballance@gmail.com>,
maple-tree@lists.infradead.org, linux-mm@kvack.org,
"Boqun Feng" <boqun.feng@gmail.com>,
"Gary Guo" <gary@garyguo.net>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Benno Lossin" <lossin@kernel.org>,
"Andreas Hindborg" <a.hindborg@kernel.org>,
"Trevor Gross" <tmgross@umich.edu>,
"Danilo Krummrich" <dakr@kernel.org>,
rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org,
patches@lists.linux.dev
Subject: Re: [PATCH] rust: maple_tree: fix intra-doc link
Date: Fri, 12 Sep 2025 08:07:33 +0000 [thread overview]
Message-ID: <aMPUxZoV9BCqDg0y@google.com> (raw)
In-Reply-To: <20250910140212.997771-1-ojeda@kernel.org>
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@kernel.org>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
next prev parent reply other threads:[~2025-09-12 8:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-10 14:02 [PATCH] rust: maple_tree: fix intra-doc link Miguel Ojeda
2025-09-12 8:07 ` Alice Ryhl [this message]
2025-09-21 9:27 ` Miguel Ojeda
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aMPUxZoV9BCqDg0y@google.com \
--to=aliceryhl@google.com \
--cc=Liam.Howlett@oracle.com \
--cc=a.hindborg@kernel.org \
--cc=alex.gaynor@gmail.com \
--cc=andrewjballance@gmail.com \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun.feng@gmail.com \
--cc=dakr@kernel.org \
--cc=gary@garyguo.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lossin@kernel.org \
--cc=maple-tree@lists.infradead.org \
--cc=ojeda@kernel.org \
--cc=patches@lists.linux.dev \
--cc=rust-for-linux@vger.kernel.org \
--cc=tmgross@umich.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.