rustfmt_nightly::expr

Function rewrite_unary_prefix

source
pub(crate) fn rewrite_unary_prefix<R: Rewrite + Spanned>(
    context: &RewriteContext<'_>,
    prefix: &str,
    rewrite: &R,
    shape: Shape,
) -> Result<String, RewriteError>