syntax::ast::make

Function path_from_segments

source
pub fn path_from_segments(
    segments: impl IntoIterator<Item = PathSegment>,
    is_abs: bool,
) -> Path