rustfmt_nightly::items

Function rewrite_bounds_on_where_clause

Source
fn rewrite_bounds_on_where_clause(
    context: &RewriteContext<'_>,
    predicates: &[WherePredicate],
    shape: Shape,
    terminator: &str,
    span_end: Option<BytePos>,
    where_clause_option: WhereClauseOption,
    force_single_line: bool,
) -> Result<String, RewriteError>
Expand description

Rewrite bounds on a where clause.