diff options
| author | Miguel Ojeda <[email protected]> | 2023-10-05 21:05:53 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2023-10-15 19:25:08 +0000 |
| commit | c61bcc278b1924da13fd52edbd46b08a518c11ef (patch) | |
| tree | e554a84fbc5f59cc12c1f649c6b004f9d6d659b7 /rust/alloc | |
| parent | rust: kernel: remove `#[allow(clippy::new_ret_no_self)]` (diff) | |
| download | kernel-c61bcc278b1924da13fd52edbd46b08a518c11ef.tar.gz kernel-c61bcc278b1924da13fd52edbd46b08a518c11ef.zip | |
rust: task: remove redundant explicit link
Starting with Rust 1.73.0, `rustdoc` detects redundant explicit
links with its new lint `redundant_explicit_links` [1]:
error: redundant explicit link target
--> rust/kernel/task.rs:85:21
|
85 | /// [`current`](crate::current) macro because it is safe.
| --------- ^^^^^^^^^^^^^^ explicit target is redundant
| |
| because label contains path that resolves to same destination
|
= note: when a link's destination is not specified,
the label is used to resolve intra-doc links
= note: `-D rustdoc::redundant-explicit-links` implied by `-D warnings`
help: remove explicit link target
|
85 | /// [`current`] macro because it is safe.
In order to avoid the warning in the compiler upgrade commit,
make it an intra-doc link as the tool suggests.
Link: https://github.com/rust-lang/rust/pull/113167 [1]
Reviewed-by: Finn Behrens <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Reviewed-by: Martin Rodriguez Reboredo <[email protected]>
Reviewed-by: Vincenzo Palazzo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/alloc')
0 files changed, 0 insertions, 0 deletions
