diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-02-01 02:13:36 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-02-03 15:55:10 -0500 |
| commit | 319eeb1c791324d1ba3a46513ab5f2c5a8e7fc5f (patch) | |
| tree | 6152371bb8ab7f805491575ea44f4840644aaa2d /src/libsyntax/parse/parser.rs | |
| parent | df31373406d7edae286f0cf38d497204eb0d35e7 (diff) | |
| download | rust-319eeb1c791324d1ba3a46513ab5f2c5a8e7fc5f.tar.gz rust-319eeb1c791324d1ba3a46513ab5f2c5a8e7fc5f.zip | |
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.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 06f86f134a6..3c7250112ab 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -87,7 +87,7 @@ use core::either; use core::result::Result; use core::vec::push; use core::vec; -use std::map::HashMap; +use std::oldmap::HashMap; #[deriving_eq] enum restriction { |
