Rustdoc does not add tooltips for reference links #89246
Closed
Description
opened on Sep 25, 2021
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)
Activity