0.10.1: Rust update

This commit is contained in:
Chris Morgan 2015-04-14 10:37:44 +10:00
parent c6480a9172
commit 6a2a404af7
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
[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"

View file

@ -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::<B>().unwrap(), &B(200));
assert_eq!(map.len(), 6);