rustdoc::html::render

Function assoc_href_attr

Source
fn assoc_href_attr(
    it: &Item,
    link: AssocItemLink<'_>,
    cx: &Context<'_>,
) -> String
Expand description

Build a (possibly empty) href attribute (a key-value pair) for the given associated item.