fix(home): rustdoc lint - #17394
Merged
Merged
Conversation
See <https://github.com/rust-lang/cargo/actions/runs/32992508559/job/98253339881> ``` warning: redundant explicit link target --> crates/home/src/lib.rs:81:42 | 81 | /// For more details, see [`cargo_home`](fn.cargo_home.html). | ------------ ^^^^^^^^^^^^^^^^^^ 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: `#[warn(rustdoc::redundant_explicit_links)]` on by default help: remove explicit link target | 81 - /// For more details, see [`cargo_home`](fn.cargo_home.html). 81 + /// For more details, see [`cargo_home`]. | warning: redundant explicit link target --> crates/home/src/lib.rs:118:43 | 118 | /// For more details, see [`rustup_home`](fn.rustup_home.html). | ------------- ^^^^^^^^^^^^^^^^^^^ 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 help: remove explicit link target | 118 - /// For more details, see [`rustup_home`](fn.rustup_home.html). 118 + /// For more details, see [`rustup_home`]. | error: `home` (lib doc) generated 2 warnings ```
Collaborator
|
r? @epage rustbot has assigned @epage. Use Why was this reviewer chosen?The reviewer was selected based on:
|
epage
approved these changes
Aug 26, 2026
epage
enabled auto-merge
August 26, 2026 18:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See https://github.com/rust-lang/cargo/actions/runs/32992508559/job/98253339881