diff --git a/src/libcollections/lib.rs b/src/libcollections/lib.rs index 9c1c2cc5906eb..f7943c0bb9140 100644 --- a/src/libcollections/lib.rs +++ b/src/libcollections/lib.rs @@ -175,6 +175,7 @@ mod prelude { } /// An endpoint of a range of keys. +#[derive(Clone, Copy, Debug, Hash, PartialEq, Eq)] pub enum Bound { /// An inclusive bound. Included(T),