Skip to content

Commit cde7849

Browse files
committed
---
yaml --- r: 50414 b: refs/heads/auto c: 258a367 h: refs/heads/master v: v3
1 parent 9e30d45 commit cde7849

File tree

5 files changed

+7
-13
lines changed

5 files changed

+7
-13
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 8e30d3fc0bad3bac9f5f1fc2b925aa831aca8ff8
17+
refs/heads/auto: 258a36738e6dcba1b01609e026862aa9750ccdbd
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167

branches/auto/src/libcore/core.rc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ pub mod container;
189189
pub mod option;
190190
pub mod result;
191191
pub mod either;
192-
pub mod dlist;
193192
pub mod hashmap;
194193
pub mod cell;
195194
pub mod trie;

branches/auto/src/libcore/dlist.rs renamed to branches/auto/src/libstd/dlist.rs

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,8 @@ Do not use ==, !=, <, etc on doubly-linked lists -- it may not terminate.
1818
1919
*/
2020

21-
use iter;
22-
use iter::BaseIter;
23-
use kinds::Copy;
24-
use managed;
25-
use option::{None, Option, Some};
26-
use vec;
21+
use core::prelude::*;
22+
use core::managed;
2723

2824
pub type DListLink<T> = Option<@mut DListNode<T>>;
2925

@@ -540,10 +536,8 @@ impl<T> BaseIter<T> for @mut DList<T> {
540536

541537
#[cfg(test)]
542538
mod tests {
543-
use dlist::{DList, concat, from_vec, new_dlist_node};
544-
use iter;
545-
use option::{None, Some};
546-
use vec;
539+
use super::*;
540+
use core::prelude::*;
547541

548542
#[test]
549543
pub fn test_dlist_concat() {

branches/auto/src/libstd/serialize.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ Core encoding and decoding interfaces.
1717
#[forbid(non_camel_case_types)];
1818

1919
use core::prelude::*;
20-
use core::dlist::DList;
2120
use core::hashmap::linear::{LinearMap, LinearSet};
2221
use core::trie::{TrieMap, TrieSet};
2322
use deque::Deque;
23+
use dlist::DList;
2424
use treemap::{TreeMap, TreeSet};
2525

2626
pub trait Encoder {

branches/auto/src/libstd/std.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ pub mod priority_queue;
7575
pub mod rope;
7676
pub mod smallintmap;
7777
pub mod sort;
78+
pub mod dlist;
7879
pub mod treemap;
7980

8081
// And ... other stuff

0 commit comments

Comments
 (0)