diff --git a/src/lib.rs b/src/lib.rs index d0bce3c..8be503e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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:'static, TypeIdHasher>, + data: HashMap, TypeIdHasher>, } impl AnyMap {