diff options
| author | Marvin Löbel <loebel.marvin@gmail.com> | 2013-09-02 02:50:59 +0200 |
|---|---|---|
| committer | Marvin Löbel <loebel.marvin@gmail.com> | 2013-09-02 02:51:21 +0200 |
| commit | 857f8673206fd2d8803e02c68cdeb38e26b95df0 (patch) | |
| tree | 7cfb11be2843774595371087f2829d0e2e830fe2 /src/libsyntax/util/parser_testing.rs | |
| parent | 1f4aba8cbf7caa3a82b52b6f171221ed6067eed5 (diff) | |
| download | rust-857f8673206fd2d8803e02c68cdeb38e26b95df0.tar.gz rust-857f8673206fd2d8803e02c68cdeb38e26b95df0.zip | |
Renamed syntax::ast::ident -> Ident
Diffstat (limited to 'src/libsyntax/util/parser_testing.rs')
| -rw-r--r-- | src/libsyntax/util/parser_testing.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/util/parser_testing.rs b/src/libsyntax/util/parser_testing.rs index 9d286f1759e..a421d44e2e3 100644 --- a/src/libsyntax/util/parser_testing.rs +++ b/src/libsyntax/util/parser_testing.rs @@ -82,7 +82,7 @@ pub fn string_to_pat(source_str : @str) -> @ast::pat { } // convert a vector of strings to a vector of ast::idents -pub fn strs_to_idents(ids: ~[&str]) -> ~[ast::ident] { +pub fn strs_to_idents(ids: ~[&str]) -> ~[ast::Ident] { ids.map(|u| token::str_to_ident(*u)) } |
