Skip to content

Commit d99bc78

Browse files
committed
---
yaml --- r: 51171 b: refs/heads/try c: 042a665 h: refs/heads/master i: 51169: 0c75305 51167: 356ad95 v: v3
1 parent a14dc3a commit d99bc78

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 5f13e9ccc2e3328d4cd8ca49f84e6840dd998346
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: f7a2371c176663d59062ec5158f39faecba45768
5-
refs/heads/try: 74d20b46c5aac5c7f058ae33aa5c59fd03dfa88b
5+
refs/heads/try: 042a66514d9e8e373d95e8027187d86bb3418cef
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/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/try/src/libcore/dlist.rs renamed to branches/try/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/try/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/try/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)