#![crate_type = "lib"]
#![feature(core)]
#![feature(no_std, unsafe_destructor)]
#![warn(missing_docs)]

//! Synchronization primitives based on spinning

#![no_std]

#[cfg(test)]
extern crate std;

#[macro_use]
extern crate core;

pub use mutex::*;
pub use rw_lock::*;

mod mutex;
mod rw_lock;

#![crate_type = "lib"]
#![feature(core)]
#![feature(no_std, unsafe_destructor)]
#![warn(missing_docs)]

//! Synchronization primitives based on spinning

#![no_std]

#[cfg(test)]
extern crate std;

#[macro_use]
extern crate core;

pub use mutex::*;
pub use rw_lock::*;

mod mutex;
mod rw_lock;

#[cfg(not(test))]
mod std {
    pub use core::*;
}

--- 
+++ 
@@ -18,8 +18,3 @@
 
 mod mutex;
 mod rw_lock;
-
-#[cfg(not(test))]
-mod std {
-    pub use core::*;
-}
Remove some now useless code
