rustdoc::clean

Function clean_variant_data

Source
fn clean_variant_data<'tcx>(
    variant: &VariantData<'tcx>,
    disr_expr: &Option<&AnonConst>,
    cx: &mut DocContext<'tcx>,
) -> Variant