rustfmt_nightly::items

Function rewrite_where_keyword

Source
fn rewrite_where_keyword(
    context: &RewriteContext<'_>,
    predicates: &[WherePredicate],
    where_span: Span,
    shape: Shape,
    span_end_before_where: BytePos,
    where_clause_option: WhereClauseOption,
) -> Result<(String, bool), RewriteError>
Expand description

Rewrite where and comment around it.