pub fn from_ident(s: Span, identifier: Ident) -> Path {
        Path {
            span: s,
            global: false,
            segments: vec!(
                PathSegment {
                    identifier: identifier,
                    parameters: PathParameters::none()
                }
            ),
        }
    }
// convert a span and an identifier to the corresponding
// 1-segment path
convert a span and an identifier to the corresponding
1-segment path
convert a span and an identifier to the corresponding 1 - segment path
pub fn from_ident(s: Span, identifier: Ident) -> Path {
        Path {
            span: s,
            global: false,
            segments: vec!(
                PathSegment {
                    identifier: identifier,
                    parameters: PathParameters::none()
                }
            ),
        }
    }
pub fn from_ident ( s : Span , identifier : Ident ) -> Path { Path { span : s , global : false , segments : vec ! ( PathSegment { identifier identifier parameters PathParameters none ( ) } ) , } }
convert a span and an identifier to the corresponding
1-segment path
convert a span and an identifier to the corresponding 1 - segment path
s
Span
identifier
Ident
s
Span
identifier
Ident