From: Chris Morgan Date: Wed, 21 Jan 2015 05:17:18 +0000 (+1100) Subject: 0.9.9: Rust update X-Git-Tag: 0.9.9 X-Git-Url: https://git.chrismorgan.info/anymap/commitdiff_plain/26ca567814442053601fe8692b872fe8fefc577f 0.9.9: Rust update --- diff --git a/Cargo.toml b/Cargo.toml index 6c15395..b514e92 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anymap" -version = "0.9.8" +version = "0.9.9" 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 d5c2be4..3b9d913 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,8 +8,8 @@ #[cfg(test)] extern crate test; -use std::any::Any; -use std::intrinsics::{forget, TypeId}; +use std::any::{Any, TypeId}; +use std::mem::forget; use std::collections::HashMap; use std::collections::hash_map; use std::hash::{Hasher, Writer};