Skip to content

Commit f58a653

Browse files
committed
derive common traits for collections::Bound
1 parent 698c100 commit f58a653

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcollections/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ mod prelude {
175175
}
176176

177177
/// An endpoint of a range of keys.
178+
#[derive(Clone, Copy, Debug, Hash, PartialEq, Eq)]
178179
pub enum Bound<T> {
179180
/// An inclusive bound.
180181
Included(T),

0 commit comments

Comments
 (0)