0.10.1: Rust update
This commit is contained in:
parent
c6480a9172
commit
6a2a404af7
|
@ -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"
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue