mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
@@ -189,7 +189,6 @@ pub mod container;
|
||||
pub mod option;
|
||||
pub mod result;
|
||||
pub mod either;
|
||||
pub mod dlist;
|
||||
pub mod hashmap;
|
||||
pub mod cell;
|
||||
pub mod trie;
|
||||
|
||||
@@ -18,12 +18,8 @@
|
||||
|
||||
*/
|
||||
|
||||
use iter;
|
||||
use iter::BaseIter;
|
||||
use kinds::Copy;
|
||||
use managed;
|
||||
use option::{None, Option, Some};
|
||||
use vec;
|
||||
use core::prelude::*;
|
||||
use core::managed;
|
||||
|
||||
pub type DListLink<T> = Option<@mut DListNode<T>>;
|
||||
|
||||
@@ -540,10 +536,8 @@ fn size_hint(&self) -> Option<uint> { Some(self.len()) }
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use dlist::{DList, concat, from_vec, new_dlist_node};
|
||||
use iter;
|
||||
use option::{None, Some};
|
||||
use vec;
|
||||
use super::*;
|
||||
use core::prelude::*;
|
||||
|
||||
#[test]
|
||||
pub fn test_dlist_concat() {
|
||||
@@ -17,10 +17,10 @@
|
||||
#[forbid(non_camel_case_types)];
|
||||
|
||||
use core::prelude::*;
|
||||
use core::dlist::DList;
|
||||
use core::hashmap::linear::{LinearMap, LinearSet};
|
||||
use core::trie::{TrieMap, TrieSet};
|
||||
use deque::Deque;
|
||||
use dlist::DList;
|
||||
use treemap::{TreeMap, TreeSet};
|
||||
|
||||
pub trait Encoder {
|
||||
|
||||
@@ -75,6 +75,7 @@ pub mod priority_queue;
|
||||
pub mod rope;
|
||||
pub mod smallintmap;
|
||||
pub mod sort;
|
||||
pub mod dlist;
|
||||
pub mod treemap;
|
||||
|
||||
// And ... other stuff
|
||||
|
||||
Reference in New Issue
Block a user