rustfmt_nightly::pairs

Function rewrite_pair

source
pub(crate) fn rewrite_pair<LHS, RHS>(
    lhs: &LHS,
    rhs: &RHS,
    pp: PairParts<'_>,
    context: &RewriteContext<'_>,
    shape: Shape,
    separator_place: SeparatorPlace,
) -> Result<String, RewriteError>
where LHS: Rewrite + Spanned, RHS: Rewrite + Spanned,