Fix links for options in man pages#16172
Merged
weihanglo merged 2 commits intorust-lang:masterfrom Oct 30, 2025
Merged
Conversation
This fixes a mistake where the `<a>` tag was closed in the wrong spot causing the links to not be functional. It was intended that you can click on the option in order to get a link reference to the option, just like you can do with headers.
This rebuilds the man pages with the correct `</a>` tag placement for options. This also includes some CSS to keep the same color as before.
Collaborator
weihanglo
approved these changes
Oct 30, 2025
bors
added a commit
to rust-lang/rust
that referenced
this pull request
Nov 1, 2025
Update cargo submodule 6 commits in 6c1b6100343691341b9e76c5acc594e78220f963..6368002885a04cbeae39a82cf5118f941559a40a 2025-10-28 16:27:52 +0000 to 2025-10-31 14:31:52 +0000 - feat(build-analysis): emit timing-info log (rust-lang/cargo#16179) - Remove libc pin message (rust-lang/cargo#16182) - feat(config-include): add optional field support (rust-lang/cargo#16180) - feat(config-include): support inline and array of tables (rust-lang/cargo#16174) - test(script): Update from rustc's test suite (rust-lang/cargo#16169) - Fix links for options in man pages (rust-lang/cargo#16172) r? ghost
bors
added a commit
to rust-lang/rust
that referenced
this pull request
Nov 1, 2025
Update cargo submodule 6 commits in 6c1b6100343691341b9e76c5acc594e78220f963..6368002885a04cbeae39a82cf5118f941559a40a 2025-10-28 16:27:52 +0000 to 2025-10-31 14:31:52 +0000 - feat(build-analysis): emit timing-info log (rust-lang/cargo#16179) - Remove libc pin message (rust-lang/cargo#16182) - feat(config-include): add optional field support (rust-lang/cargo#16180) - feat(config-include): support inline and array of tables (rust-lang/cargo#16174) - test(script): Update from rustc's test suite (rust-lang/cargo#16169) - Fix links for options in man pages (rust-lang/cargo#16172) r? ghost
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.
This fixes a mistake where the
<a>tag was closed in the wrong spot causing the links to not be functional. It was intended that you can click on the option in order to get a link reference to the option, just like you can do with headers.