Merge pull request #3 from reem/rust-version-bump
Fixes syntax error with latest nightly.
This commit is contained in:
commit
da3b57feb8
|
@ -109,7 +109,7 @@ impl<'a> UncheckedAnyMutRefExt<'a> for &'a mut Any {
|
|||
///
|
||||
/// Values containing non-static references are not permitted.
|
||||
pub struct AnyMap {
|
||||
data: HashMap<TypeId, Box<Any>:'static, TypeIdHasher>,
|
||||
data: HashMap<TypeId, Box<Any>, TypeIdHasher>,
|
||||
}
|
||||
|
||||
impl AnyMap {
|
||||
|
|
Loading…
Reference in a new issue