pub(crate) fn register_res(cx: &mut DocContext<'_>, res: Res) -> DefId
Expand description
If res
has a documentation page associated, store it in the cache.
This is later used by href()
to determine the HTML link for the item.
pub(crate) fn register_res(cx: &mut DocContext<'_>, res: Res) -> DefId
If res
has a documentation page associated, store it in the cache.
This is later used by href()
to determine the HTML link for the item.