Chris Morgan
›
Git
›
anymap
› commitdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
patch
| inline |
side by side
(parent:
f64b6b0
)
commit
grep
author
committer
pickaxe
?
search:
re
Fix a syntax error with the latest rust
author
Jonathan Reem
<jonathan.reem@gmail.com>
Mon, 16 Jun 2014 16:59:53 +0000
committer
Jonathan Reem
<jonathan.reem@gmail.com>
Mon, 16 Jun 2014 16:59:53 +0000
src/lib.rs
patch
|
blob
|
history
diff --git
a/src/lib.rs
b/src/lib.rs
index d0bce3c4ec02962e204261d4c6ee6c0140fb1456..8be503e0e16b54d26ef4649ac3bf1c6871b2b3ca 100644
(file)
--- 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<TypeId, Box<Any>
:'static
, TypeIdHasher>,
+ data: HashMap<TypeId, Box<Any>, TypeIdHasher>,
}
impl AnyMap {