diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-08-18 15:00:12 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-08-18 15:01:49 -0700 |
| commit | f5ce3bf15d5f636bb73b7aae671b3a9e9681f38e (patch) | |
| tree | dc32b6ef3e3413458ef34ebc85b322cca28f0438 /src/comp/syntax | |
| parent | 223f6017c796898722c0fcb78fabf973120e1344 (diff) | |
| download | rust-f5ce3bf15d5f636bb73b7aae671b3a9e9681f38e.tar.gz rust-f5ce3bf15d5f636bb73b7aae671b3a9e9681f38e.zip | |
More misc ivec->vec renaming
Diffstat (limited to 'src/comp/syntax')
| -rw-r--r-- | src/comp/syntax/ext/simplext.rs | 2 | ||||
| -rw-r--r-- | src/comp/syntax/untyped_ast.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/comp/syntax/ext/simplext.rs b/src/comp/syntax/ext/simplext.rs index 6386b628744..9b8a5e28e09 100644 --- a/src/comp/syntax/ext/simplext.rs +++ b/src/comp/syntax/ext/simplext.rs @@ -39,7 +39,7 @@ fn path_to_ident(pth: &path) -> option::t<ident> { ret none; } -//an ivec of binders might be a little big. +//a vec of binders might be a little big. type clause = {params: binders, body: @expr}; /* logically, an arb_depth should contain only one kind of matchable */ diff --git a/src/comp/syntax/untyped_ast.rs b/src/comp/syntax/untyped_ast.rs index 5534fbed57d..124a1e947f1 100644 --- a/src/comp/syntax/untyped_ast.rs +++ b/src/comp/syntax/untyped_ast.rs @@ -1,4 +1,4 @@ -import std::ivec; +import std::vec; import std::vec::map; import std::option; import std::option::some; @@ -410,7 +410,7 @@ fn cv_crate(ctx: &ctx, ut: &@ast_node) -> @crate { fn cv_crate_cfg(ctx: &ctx, ut: &@ast_node) -> crate_cfg { ret alt *ut { branch(n_crate_cfg., _, meta_items) { - ivec::map(bind cv_meta_item(ctx,_), meta_items) + vec::map(bind cv_meta_item(ctx,_), meta_items) } branch(_, sp, _) { ctx.ff(sp,"Invalid crate_cfg") } }; |
