[package]
name = "anymap"
-version = "0.10.0"
+version = "0.10.1"
authors = ["Chris Morgan <me@chrismorgan.info>"]
description = "A safe and convenient store for one value of each type"
#documentation = "http://www.rust-ci.org/chris-morgan/anymap/doc/anymap/index.html"
//! This crate provides the `AnyMap` type, a safe and convenient store for one value of each type.
-#![feature(core, std_misc, convert)]
+#![feature(core, std_misc)]
#![cfg_attr(test, feature(test))]
#![warn(missing_docs, unused_results)]
*v = new_v;
}
}
- assert_eq!(map.get().unwrap(), &B(200));
+ assert_eq!(map.get::<B>().unwrap(), &B(200));
assert_eq!(map.len(), 6);