From f58a65374b6a372b641852283cc4ce94bdb07035 Mon Sep 17 00:00:00 2001 From: Andrew Paseltiner Date: Tue, 10 Mar 2015 13:50:35 -0400 Subject: [PATCH] derive common traits for `collections::Bound` --- src/libcollections/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcollections/lib.rs b/src/libcollections/lib.rs index 9c1c2cc5906..f7943c0bb91 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),