mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 11:07:42 +00:00
Remove bounds from type decl of smallintmap
r=brson
This commit is contained in:
parent
a4ba11189d
commit
08bc19cbcd
@ -25,11 +25,11 @@ use core::prelude::*;
|
|||||||
|
|
||||||
// FIXME (#2347): Should not be @; there's a bug somewhere in rustc that
|
// FIXME (#2347): Should not be @; there's a bug somewhere in rustc that
|
||||||
// requires this to be.
|
// requires this to be.
|
||||||
struct SmallIntMap_<T: Copy> {
|
struct SmallIntMap_<T> {
|
||||||
v: DVec<Option<T>>,
|
v: DVec<Option<T>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub enum SmallIntMap<T:Copy> {
|
pub enum SmallIntMap<T> {
|
||||||
SmallIntMap_(@SmallIntMap_<T>)
|
SmallIntMap_(@SmallIntMap_<T>)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user