From 6a2a404af73f1dfc1379c279da2dee702fb900ae Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Tue, 14 Apr 2015 10:37:44 +1000 Subject: [PATCH] 0.10.1: Rust update --- Cargo.toml | 2 +- src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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); -- 2.42.0