rustdoc::clean

Function clean_ty_generics

Source
fn clean_ty_generics<'tcx>(
    cx: &mut DocContext<'tcx>,
    gens: &Generics,
    preds: GenericPredicates<'tcx>,
) -> Generics