Skip to content

Commit 8cb7bc3

Browse files
committed
---
yaml --- r: 47636 b: refs/heads/incoming c: 26697c3 h: refs/heads/master v: v3
1 parent 07a9b72 commit 8cb7bc3

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: 2a8fb58d79e685d5ca07b039badcf2ae3ef077ea
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/incoming: 9324f497b28ae4d98ef443e747390d1f0ccee1de
9+
refs/heads/incoming: 26697c371db2816bcaa32a050b5d32bce7294ca0
1010
refs/heads/dist-snap: 8b98e5a296d95c5e832db0756828e5bec31c6f50
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/libstd/workcache.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ use serialize::{Encoder, Encodable, Decoder, Decodable};
1616
use sort;
1717

1818
use core::cmp;
19-
use core::dvec;
2019
use core::either::{Either, Left, Right};
2120
use core::io;
2221
use core::option;
@@ -141,13 +140,12 @@ type WorkMap = LinearMap<WorkKey, ~str>;
141140

142141
pub impl<S: Encoder> WorkMap: Encodable<S> {
143142
fn encode(&self, s: &S) {
144-
let d = dvec::DVec();
143+
let mut d = ~[];
145144
for self.each |&(k, v)| {
146145
d.push((copy *k, copy *v))
147146
}
148-
let mut v = d.get();
149-
sort::tim_sort(v);
150-
v.encode(s)
147+
sort::tim_sort(d);
148+
d.encode(s)
151149
}
152150
}
153151

0 commit comments

Comments
 (0)