pub fn gensym_name(name: &str) -> PathElem {
    let num = token::gensym(name).usize();
    // use one colon which will get translated to a period by the mangler, and
    // we're guaranteed that `num` is globally unique for this crate.
    PathName(token::gensym(&format!("{}:{}", name, num)))
}
/// Generates a unique symbol based off the name given. This is used to create
/// unique symbols for things like closures.
Generates a unique symbol based off the name given. This is used to create
unique symbols for things like closures.
Generates a unique symbol based off the name given . This is used to create unique symbols for things like closures .
pub fn gensym_name(name: &str) -> PathElem {
    let num = token::gensym(name).usize();
    // use one colon which will get translated to a period by the mangler, and
    // we're guaranteed that `num` is globally unique for this crate.
    PathName(token::gensym(&format!("{}:{}", name, num)))
}
pub fn gensym_name ( name : & str ) -> PathElem { let num = token :: gensym ( name ) . usize ( ) ; // use one colon which will get translated to a period by the mangler, and // we're guaranteed that `num` is globally unique for this crate. PathName ( token :: gensym ( & format ! ( " " name num ) ) ) }
Generates a unique symbol based off the name given.
Generates a unique symbol based off the name given .
name
&str
name
&str