rustdoc::clean::inline

Function separate_supertrait_bounds

source
fn separate_supertrait_bounds(g: Generics) -> (Generics, Vec<GenericBound>)
Expand description

Supertrait bounds for a trait are also listed in the generics coming from the metadata for a crate, so we want to separate those out and create a new list of explicit supertrait bounds to render nicely.