rustfmt_nightly::types

Function rewrite_path_segments

source
fn rewrite_path_segments<'a, I>(
    path_context: PathContext,
    buffer: String,
    iter: I,
    span_lo: BytePos,
    span_hi: BytePos,
    context: &RewriteContext<'_>,
    shape: Shape,
) -> Result<String, RewriteError>
where I: Iterator<Item = &'a PathSegment>,