Skip to content

Commit ec130a0

Browse files
committed
---
yaml --- r: 30462 b: refs/heads/incoming c: cb7a539 h: refs/heads/master v: v3
1 parent fc8b57d commit ec130a0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+385
-386
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
9-
refs/heads/incoming: 29003c799f41cce948bc043cdd1350ca4bee949e
9+
refs/heads/incoming: cb7a5395ddfaa7b8fc40db57b32c22f69780ccd6
1010
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/doc/rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ Two examples of paths with type arguments:
450450
# use std::map;
451451
# fn f() {
452452
# fn id<T:Copy>(t: T) -> T { t }
453-
type t = map::hashmap<int,~str>; // Type arguments used in a type expression
453+
type t = map::HashMap<int,~str>; // Type arguments used in a type expression
454454
let x = id::<int>(10); // Type arguments used in a call expression
455455
# }
456456
~~~~

branches/incoming/src/cargo/cargo.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use syntax::diagnostic;
1010
use result::{Ok, Err};
1111
use io::WriterUtil;
1212
use std::{map, json, tempfile, term, sort, getopts};
13-
use map::hashmap;
13+
use map::HashMap;
1414
use to_str::to_str;
1515
use getopts::{optflag, optopt, opt_present};
1616

@@ -71,9 +71,9 @@ type cargo = {
7171
libdir: Path,
7272
workdir: Path,
7373
sourcedir: Path,
74-
sources: map::hashmap<~str, source>,
74+
sources: map::HashMap<~str, source>,
7575
mut current_install: ~str,
76-
dep_cache: map::hashmap<~str, bool>,
76+
dep_cache: map::HashMap<~str, bool>,
7777
opts: options
7878
};
7979

@@ -454,7 +454,7 @@ fn parse_source(name: ~str, j: json::Json) -> source {
454454
};
455455
}
456456

457-
fn try_parse_sources(filename: &Path, sources: map::hashmap<~str, source>) {
457+
fn try_parse_sources(filename: &Path, sources: map::HashMap<~str, source>) {
458458
if !os::path_exists(filename) { return; }
459459
let c = io::read_whole_file_str(filename);
460460
match json::from_str(result::get(c)) {
@@ -469,7 +469,7 @@ fn try_parse_sources(filename: &Path, sources: map::hashmap<~str, source>) {
469469
}
470470
}
471471

472-
fn load_one_source_package(src: source, p: map::hashmap<~str, json::Json>) {
472+
fn load_one_source_package(src: source, p: map::HashMap<~str, json::Json>) {
473473
let name = match p.find(~"name") {
474474
Some(json::String(n)) => {
475475
if !valid_pkg_name(*n) {

branches/incoming/src/libstd/json.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
use core::cmp::{Eq, Ord};
77
use result::{Result, Ok, Err};
88
use io::WriterUtil;
9-
use map::hashmap;
10-
use map::map;
9+
use map::HashMap;
10+
use map::Map;
1111
use sort::Sort;
1212

1313
export Json;
@@ -34,7 +34,7 @@ enum Json {
3434
String(@~str),
3535
Boolean(bool),
3636
List(@~[Json]),
37-
Dict(map::hashmap<~str, Json>),
37+
Dict(map::HashMap<~str, Json>),
3838
Null,
3939
}
4040

@@ -797,7 +797,7 @@ impl <A: ToJson> ~[A]: ToJson {
797797
fn to_json() -> Json { List(@self.map(|elt| elt.to_json())) }
798798
}
799799

800-
impl <A: ToJson Copy> hashmap<~str, A>: ToJson {
800+
impl <A: ToJson Copy> HashMap<~str, A>: ToJson {
801801
fn to_json() -> Json {
802802
let d = map::str_hash();
803803
for self.each() |key, value| {

0 commit comments

Comments
 (0)