diff --git a/src/lib.rs b/src/lib.rs index 51eb56a..32e5e56 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -10,7 +10,6 @@ use std::cmp::Ordering; use std::fmt; use std::i32; use std::i64; -use std::marker::MarkerTrait; use std::marker::PhantomData; use time::Timespec; @@ -152,7 +151,7 @@ impl Normalizable for Timespec { } /// The possible sides of a bound -#[derive(PartialEq, Eq, Copy)] +#[derive(PartialEq, Eq, Clone, Copy)] pub enum BoundSide { /// An upper bound Upper, @@ -162,7 +161,7 @@ pub enum BoundSide { /// A trait implemented by phantom types indicating the type of the bound #[doc(hidden)] -pub trait BoundSided: MarkerTrait { +pub trait BoundSided { /// Returns the bound side this type corresponds to fn side() -> BoundSide; }