rustdoc::clean

Function clean_variant_data

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