Open
Description
I open https://docs.rs/smol/latest/smol/stream/struct.Map.html.
I see a link to StreamExt::map()
, which is an auto-intra-link, see the source code:
pin_project! {
/// Stream for the [`StreamExt::map()`] method.
#[derive(Clone, Debug)]
#[must_use = "streams do nothing unless polled"]
pub struct Map<S, F> {
#[pin]
stream: S,
f: F,
}
}
rustdoc computes it as a link to …/prelude/trait._.html#method.map
, which is incorrect.
As agreed with @GuillaumeGomez, I'm opening this bug to track it 🐛.