Function rustdoc::passes::collect_intra_doc_links::handle_variant
source · [−]fn handle_variant(
cx: &DocContext<'_>,
res: Res
) -> Result<(Res, Option<ItemFragment>), ErrorKind<'static>>Expand description
Given an enum variant’s res, return the res of its enum and the associated fragment.