rustfmt_nightly::expr

Function rewrite_struct_lit

Source
fn rewrite_struct_lit<'a>(
    context: &RewriteContext<'_>,
    path: &Path,
    qself: &Option<P<QSelf>>,
    fields: &'a [ExprField],
    struct_rest: &StructRest,
    attrs: &[Attribute],
    span: Span,
    shape: Shape,
) -> Result<String, RewriteError>