rename map -> oldmap and mark it as deprecated

LinearMap is quite a bit faster, and is fully owned/sendable without
requiring copies. The older std::map also doesn't use explicit self and
relies on mutable fields.
This commit is contained in:
Daniel Micay
2013-02-01 02:13:36 -05:00
parent df31373406
commit 319eeb1c79
96 changed files with 230 additions and 231 deletions

View File

@@ -24,8 +24,8 @@ use core::either::Either;
use core::either;
use core::option;
use core::vec;
use std::map::HashMap;
use std::map;
use std::oldmap::HashMap;
use std::oldmap;
use std;
/* Constructors */
@@ -358,7 +358,7 @@ pub fn find_inline_attr(attrs: &[ast::attribute]) -> inline_attr {
pub fn require_unique_names(diagnostic: span_handler,
metas: &[@ast::meta_item]) {
let map = map::HashMap();
let map = oldmap::HashMap();
for metas.each |meta| {
let name = get_meta_item_name(*meta);