Skip to main content

rewrite_range

Function rewrite_range 

Source
pub(crate) fn rewrite_range(
    context: &RewriteContext<'_>,
    shape: Shape,
    lhs: Option<&Expr>,
    rhs: Option<&Expr>,
    delim: &str,
) -> Result<String, RewriteError>