fn path_from_ident_str(ident_str: Vec<&str>) -> Path {
    let mut path = Path {
        leading_colon: None,
        segments: Default::default(),
    };

    for ident_str in ident_str.into_iter() {
        path.segments.push(PathSegment {
            ident: Ident::new(ident_str, Span::call_site()),
            arguments: Default::default(),
        });
    }

    path
}
// helper function for generating path.
helper function for generating path.
helper function for generating path .
fn path_from_ident_str(ident_str: Vec<&str>) -> Path {
    let mut path = Path {
        leading_colon: None,
        segments: Default::default(),
    };
    for ident_str in ident_str.into_iter() {
        path.segments.push(PathSegment {
            ident: Ident::new(ident_str, Span::call_site()),
            arguments: Default::default(),
        });
    }
    path
}
fn path_from_ident_str ( ident_str : Vec < & str > ) -> Path { let mut path = Path { leading_colon : None , segments : Default :: default ( ) , } ; for ident_str in ident_str . into_iter ( ) { path . segments . push ( PathSegment { ident : Ident :: new ( ident_str , Span :: call_site ( ) ) , arguments : Default :: default ( ) , } ) ; } path }
helper function for generating path.
helper function for generating path .
ident_str
Vec<&str>