Function rustfmt_nightly::closures::rewrite_closure

source ยท
pub(crate) fn rewrite_closure(
    binder: &ClosureBinder,
    constness: Const,
    capture: CaptureBy,
    coroutine_kind: &Option<CoroutineKind>,
    movability: Movability,
    fn_decl: &FnDecl,
    body: &Expr,
    span: Span,
    context: &RewriteContext<'_>,
    shape: Shape,
) -> Option<String>