rustfmt_nightly::items

Function rewrite_where_clause

Source
fn rewrite_where_clause(
    context: &RewriteContext<'_>,
    predicates: &[WherePredicate],
    where_span: Span,
    brace_style: BraceStyle,
    shape: Shape,
    on_new_line: bool,
    terminator: &str,
    span_end: Option<BytePos>,
    span_end_before_where: BytePos,
    where_clause_option: WhereClauseOption,
) -> Result<String, RewriteError>