Skip to content

Commit e964006

Browse files
committed
Remove bounds from type decl of smallintmap
1 parent 0434a9e commit e964006

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/smallintmap.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ use core::prelude::*;
2525

2626
// FIXME (#2347): Should not be @; there's a bug somewhere in rustc that
2727
// requires this to be.
28-
struct SmallIntMap_<T: Copy> {
28+
struct SmallIntMap_<T> {
2929
v: DVec<Option<T>>,
3030
}
3131

32-
pub enum SmallIntMap<T:Copy> {
32+
pub enum SmallIntMap<T> {
3333
SmallIntMap_(@SmallIntMap_<T>)
3434
}
3535

0 commit comments

Comments
 (0)