// Create an `Ident`, possibly mangling it if it conflicts with a Rust keyword.
Create an `Ident`, possibly mangling it if it conflicts with a Rust keyword.
Create an ` Ident ` possibly mangling it if it conflicts with a Rust keyword .
fn rust_ident(name: &str) -> Ident {
    if is_rust_keyword(name) {
        Ident::new(&format!("{}_", name), proc_macro2::Span::call_site())
    } else {
        raw_ident(name)
    }
}
fn rust_ident ( name : & str ) -> Ident { if is_rust_keyword ( name ) { Ident :: new ( & format ! ( " " name ) , proc_macro2 :: Span :: call_site ( ) ) } else { raw_ident ( name ) } }
Create an `Ident`, possibly mangling it if it conflicts with a Rust keyword.
Create an ` Ident ` possibly mangling it if it conflicts with a Rust keyword .
name
&str