]> git.lizzy.rs Git - rust.git/commit
ast: add an `as_str` method to Ident
authorCorey Richardson <corey@octayn.net>
Thu, 3 Jul 2014 07:45:59 +0000 (00:45 -0700)
committerCorey Richardson <corey@octayn.net>
Wed, 9 Jul 2014 07:06:29 +0000 (00:06 -0700)
commitbf04a7ccb1c1d23478885ea4f67fad374ffe0a72
treea4fca8ae295651c729a3dd4556db632a527d74d7
parentc8a02527ae6364175c31a5447dd4e21bb6ac3488
ast: add an `as_str` method to Ident

This is technically unsafe but interned strings are considered immortal.
src/libsyntax/ast.rs