-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-markdown-parsingArea: Markdown parsing for doc-commentsArea: Markdown parsing for doc-commentsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
In general, links generated by rustdoc do have a tooltip.
E.g. something like
/// Talking about [`Result`][std::fmt::Result] here!
pub mod m {}
will come with a tooltip
Whereas (unfortunately) the following alternative
/// Talking about [`Result`] here!
///
/// [`Result`]: std::fmt::Result
pub mod m {}
creates almost the same documentation, just lacking the tooltip.
Originally posted by @steffahn in #88343 (comment)
steffahn
Metadata
Metadata
Assignees
Labels
A-markdown-parsingArea: Markdown parsing for doc-commentsArea: Markdown parsing for doc-commentsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.