From 857f8673206fd2d8803e02c68cdeb38e26b95df0 Mon Sep 17 00:00:00 2001 From: Marvin Löbel Date: Mon, 2 Sep 2013 02:50:59 +0200 Subject: Renamed syntax::ast::ident -> Ident --- src/libsyntax/util/parser_testing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/util') 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)) } -- cgit 1.4.1-3-g733a5