From 26ca567814442053601fe8692b872fe8fefc577f Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Wed, 21 Jan 2015 16:17:18 +1100 Subject: [PATCH] 0.9.9: 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 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}; -- 2.42.0