Function rustdoc::clean::utils::register_res
source · pub(crate) fn register_res(cx: &mut DocContext<'_>, res: Res) -> DefIdExpand 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.