Commit 3785c313 authored by qinsoon's avatar qinsoon

removed any dependency to clippy (which causes compilation failure)

parent 1b27834c
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Rust &lt;mu&gt;" level="project" />
<orderEntry type="library" name="Cargo &lt;mu&gt;" level="project" /> <orderEntry type="library" name="Cargo &lt;mu&gt;" level="project" />
<orderEntry type="library" name="Rust &lt;mu&gt;" level="project" />
</component> </component>
</module> </module>
\ No newline at end of file
...@@ -23,5 +23,4 @@ log = "0.3.5" ...@@ -23,5 +23,4 @@ log = "0.3.5"
simple_logger = "0.4.0" simple_logger = "0.4.0"
aligned_alloc = "0.1.2" aligned_alloc = "0.1.2"
crossbeam = "0.2.8" crossbeam = "0.2.8"
doubly = "1.1.1"
rustc-serialize = "*" rustc-serialize = "*"
\ No newline at end of file
#![allow(dead_code)] #![allow(dead_code)]
extern crate doubly; use utils::DoublyLinkedList;
use utils::Address; use utils::Address;
use utils::mem::memmap; use utils::mem::memmap;
use common::AddressMap; use common::AddressMap;
...@@ -12,8 +11,6 @@ use std::sync::Arc; ...@@ -12,8 +11,6 @@ use std::sync::Arc;
use std::fmt; use std::fmt;
use std::sync::Mutex; use std::sync::Mutex;
use self::doubly::DoublyLinkedList;
const SPACE_ALIGN : usize = 1 << 19; const SPACE_ALIGN : usize = 1 << 19;
const BLOCK_SIZE : usize = 1 << 12; // 4kb const BLOCK_SIZE : usize = 1 << 12; // 4kb
......
This diff is collapsed.
...@@ -16,8 +16,11 @@ pub mod mem; ...@@ -16,8 +16,11 @@ pub mod mem;
mod linked_hashmap; mod linked_hashmap;
mod linked_hashset; mod linked_hashset;
mod doubly;
pub use linked_hashmap::LinkedHashMap; pub use linked_hashmap::LinkedHashMap;
pub use linked_hashset::LinkedHashSet; pub use linked_hashset::LinkedHashSet;
pub use doubly::DoublyLinkedList;
#[macro_export] #[macro_export]
macro_rules! linked_hashmap { macro_rules! linked_hashmap {
......
...@@ -34,10 +34,6 @@ ...@@ -34,10 +34,6 @@
#![cfg_attr(all(feature = "nightly", test), feature(test))] #![cfg_attr(all(feature = "nightly", test), feature(test))]
#![cfg_attr(feature = "clippy", feature(plugin))]
#![cfg_attr(feature = "clippy", plugin(clippy))]
#![cfg_attr(feature = "clippy", deny(clippy))]
use std::borrow::Borrow; use std::borrow::Borrow;
use std::cmp::Ordering; use std::cmp::Ordering;
use std::collections::hash_map::{self, HashMap}; use std::collections::hash_map::{self, HashMap};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment