Chris Morgan
›
Git
›
anymap
› commitdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
patch
|
inline
| side by side (parent:
b3def77
)
commit
grep
author
committer
pickaxe
?
search:
re
0.11.2: just fixing warnings and such.
0.11.2
author
Chris Morgan
<me@chrismorgan.info>
Fri, 22 Jan 2016 01:05:51 +0000
committer
Chris Morgan
<me@chrismorgan.info>
Fri, 22 Jan 2016 01:05:51 +0000
Cargo.toml
patch
|
blob
|
history
src/any.rs
patch
|
blob
|
history
src/lib.rs
patch
|
blob
|
history
src/raw.rs
patch
|
blob
|
history
diff --git
a/Cargo.toml
b/Cargo.toml
index 455611f4e3e6c7a77dd635a564eeb6984360b9b4..f13b83b93a7e3826280b3751a94a3519164d07c5 100644
(file)
--- a/
Cargo.toml
+++ b/
Cargo.toml
@@
-1,6
+1,6
@@
[package]
name = "anymap"
[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"
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/any.rs
b/src/any.rs
index 93130e0a82f559ba6fce755fc44fbaceeb82a137..87028fbc6334a7a42e4bb945bd9190fa3f9bf474 100644
(file)
--- a/
src/any.rs
+++ b/
src/any.rs
@@
-93,7
+93,6
@@
use std::raw::TraitObject;
#[cfg(not(feature = "unstable"))]
#[repr(C)]
#[cfg(not(feature = "unstable"))]
#[repr(C)]
-#[allow(raw_pointer_derive)]
#[derive(Copy, Clone)]
struct TraitObject {
pub data: *mut (),
#[derive(Copy, Clone)]
struct TraitObject {
pub data: *mut (),
diff --git
a/src/lib.rs
b/src/lib.rs
index 5095829c44b43c315b5b4b24f5edda691be4e9ab..64a0f6bebc69af1643679525ac9efa4bc4dc50a2 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.
-#![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)]
#![cfg_attr(all(feature = "unstable", test), feature(test))]
#![warn(missing_docs, unused_results)]
diff --git
a/src/raw.rs
b/src/raw.rs
index efa485212160734ccde23cdb0c9d9351f9cdd355..3d1be50333c1951af280cbeac78356cab0b6f3c9 100644
(file)
--- a/
src/raw.rs
+++ b/
src/raw.rs
@@
-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::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::hash::Hash;
#[cfg(feature = "unstable")]
use std::hash::Hasher;
-use std::iter::IntoIterator;
#[cfg(feature = "unstable")]
use std::mem;
use std::ops::{Index, IndexMut};
#[cfg(feature = "unstable")]
use std::mem;
use std::ops::{Index, IndexMut};