0.11.2: just fixing warnings and such.

This commit is contained in:
Chris Morgan 2016-01-22 12:05:51 +11:00
parent b3def77657
commit 82f41caeb9
4 changed files with 2 additions and 5 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "anymap"
version = "0.11.1"
version = "0.11.2"
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

@ -93,7 +93,6 @@ use std::raw::TraitObject;
#[cfg(not(feature = "unstable"))]
#[repr(C)]
#[allow(raw_pointer_derive)]
#[derive(Copy, Clone)]
struct TraitObject {
pub data: *mut (),

View file

@ -1,6 +1,6 @@
//! This crate provides the `AnyMap` type, a safe and convenient store for one value of each type.
#![cfg_attr(feature = "unstable", feature(drain, hashmap_hasher, raw))]
#![cfg_attr(feature = "unstable", feature(hashmap_hasher, raw))]
#![cfg_attr(all(feature = "unstable", test), feature(test))]
#![warn(missing_docs, unused_results)]

View file

@ -7,11 +7,9 @@ use std::borrow::Borrow;
use std::collections::hash_map::{self, HashMap};
#[cfg(feature = "unstable")]
use std::collections::hash_state::HashState;
use std::default::Default;
use std::hash::Hash;
#[cfg(feature = "unstable")]
use std::hash::Hasher;
use std::iter::IntoIterator;
#[cfg(feature = "unstable")]
use std::mem;
use std::ops::{Index, IndexMut};