Chris Morgan
›
Git
›
anymap
› commitdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c6480a9
)
commit
grep
author
committer
pickaxe
?
search:
re
0.10.1: Rust update
0.10.1
author
Chris Morgan
<me@chrismorgan.info>
Tue, 14 Apr 2015 00:37:44 +0000
committer
Chris Morgan
<me@chrismorgan.info>
Tue, 14 Apr 2015 00:37:44 +0000
Cargo.toml
patch
|
blob
|
history
src/lib.rs
patch
|
blob
|
history
diff --git
a/Cargo.toml
b/Cargo.toml
index d1e54482b466baa623b12339378afaa0d04235a7..351851e4c266dd6f26a45f8116265f8746186e89 100644
(file)
--- a/
Cargo.toml
+++ b/
Cargo.toml
@@
-1,6
+1,6
@@
[package]
name = "anymap"
[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"
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"
diff --git
a/src/lib.rs
b/src/lib.rs
index e38670b71c27947e85c9e3d2b582d303435f7ca2..a40da70aa34a834a714149556c40c148309acea7 100644
(file)
--- 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.
//! 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)]
#![cfg_attr(test, feature(test))]
#![warn(missing_docs, unused_results)]
@@
-346,7
+346,7
@@
mod tests {
*v = new_v;
}
}
*v = new_v;
}
}
- assert_eq!(map.get().unwrap(), &B(200));
+ assert_eq!(map.get
::<B>
().unwrap(), &B(200));
assert_eq!(map.len(), 6);
assert_eq!(map.len(), 6);