We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ecbb64c + 894763f commit 4064646Copy full SHA for 4064646
1 file changed
src/lib.rs
@@ -10,7 +10,6 @@ use std::cmp::Ordering;
10
use std::fmt;
11
use std::i32;
12
use std::i64;
13
-use std::marker::MarkerTrait;
14
use std::marker::PhantomData;
15
16
use time::Timespec;
@@ -152,7 +151,7 @@ impl Normalizable for Timespec {
152
151
}
153
154
/// The possible sides of a bound
155
-#[derive(PartialEq, Eq, Copy)]
+#[derive(PartialEq, Eq, Clone, Copy)]
156
pub enum BoundSide {
157
/// An upper bound
158
Upper,
@@ -162,7 +161,7 @@ pub enum BoundSide {
162
161
163
/// A trait implemented by phantom types indicating the type of the bound
164
#[doc(hidden)]
165
-pub trait BoundSided: MarkerTrait {
+pub trait BoundSided {
166
/// Returns the bound side this type corresponds to
167
fn side() -> BoundSide;
168
0 commit comments