rustfmt_nightly::types

Function rewrite_segment

source
fn rewrite_segment(
    path_context: PathContext,
    segment: &PathSegment,
    span_lo: &mut BytePos,
    span_hi: BytePos,
    context: &RewriteContext<'_>,
    shape: Shape,
) -> Result<String, RewriteError>