Skip to content

Commit 3bbcac3

Browse files
committed
auto merge of #5279 : alexcrichton/rust/no-dvec, r=pcwalton
Closes #4985 by removing the `dvec` module and all use cases throughout the compiler. A number of uses were directly convertible to `let mut foo = ~[];`, while others in hash maps and some fields had to be converted to `@mut ~[T]`. A small number of `DVec` instances in fields were able to be converted directly to `~[T]` without the `@`, but this was a difficult thing to do.
2 parents 647a94d + 62651df commit 3bbcac3

Some content is hidden

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

41 files changed

+327
-902
lines changed

src/libcore/core.rc

+4-7
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ used features.
2121
the floating point types, the `bool` type, tuples, characters, strings,
2222
vectors (`vec`), managed boxes (`managed`), owned boxes (`owned`), and unsafe
2323
and borrowed pointers (`ptr`). Additionally, `core` provides task management
24-
and creation (`task`), communication primitives (`comm` and `pipes`), an
25-
efficient vector builder (`dvec`), platform abstractions (`os` and `path`),
26-
basic I/O abstractions (`io`), common traits (`cmp`, `num`, `to_str`), and
27-
complete bindings to the C standard library (`libc`).
24+
and creation (`task`), communication primitives (`comm` and `pipes`), platform
25+
abstractions (`os` and `path`), basic I/O abstractions (`io`), common traits
26+
(`cmp`, `num`, `to_str`), and complete bindings to the C standard library
27+
(`libc`).
2828

2929
`core` is linked to all crates by default and its contents imported.
3030
Implicitly, all crates behave as if they included the following prologue:
@@ -141,9 +141,6 @@ pub mod container;
141141
pub mod option;
142142
pub mod result;
143143
pub mod either;
144-
pub mod dvec;
145-
#[path="iter-trait.rs"] #[merge = "iter-trait/dvec.rs"]
146-
pub mod dvec_iter;
147144
pub mod dlist;
148145
#[path="iter-trait.rs"] #[merge = "iter-trait/dlist.rs"]
149146
pub mod dlist_iter;

src/libcore/dvec.rs

-355
This file was deleted.

0 commit comments

Comments
 (0)