From: Chris Morgan Date: Tue, 14 Apr 2015 00:37:44 +0000 (+1000) Subject: 0.10.1: Rust update X-Git-Tag: 0.10.1 X-Git-Url: https://git.chrismorgan.info/anymap/commitdiff_plain/6a2a404af73f1dfc1379c279da2dee702fb900ae?hp=c6480a91723804547a8cc99a2066f64436008abe 0.10.1: Rust update --- diff --git a/Cargo.toml b/Cargo.toml index d1e5448..351851e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anymap" -version = "0.10.0" +version = "0.10.1" authors = ["Chris Morgan "] 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" diff --git a/src/lib.rs b/src/lib.rs index e38670b..a40da70 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,6 @@ //! 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)] @@ -346,7 +346,7 @@ mod tests { *v = new_v; } } - assert_eq!(map.get().unwrap(), &B(200)); + assert_eq!(map.get::().unwrap(), &B(200)); assert_eq!(map.len(), 6);