rustdoc::clean::simplify

Function move_bounds_to_generic_parameters

Source
pub(crate) fn move_bounds_to_generic_parameters(generics: &mut Generics)
Expand description

Move bounds that are (likely) directly attached to generic parameters from the where-clause to the respective parameter.

There is no guarantee that this is what the user actually wrote but we have no way of knowing.