X-Git-Url: https://git.chrismorgan.info/anymap/blobdiff_plain/34028c35e70de959ec61758db88dfc84f75764cf..521fbfe6bcbf60e7abc8d8ab33bf73349fc4b38d:/src/raw.rs diff --git a/src/raw.rs b/src/raw.rs index 17c3869..aa3d6dc 100644 --- a/src/raw.rs +++ b/src/raw.rs @@ -56,7 +56,7 @@ fn type_id_hasher() { /// contents of an `Map`. However, because you will then be dealing with `Any` trait objects, it /// doesn’t tend to be so very useful. Still, if you need it, it’s here. #[derive(Debug)] -pub struct RawMap { +pub struct RawMap { inner: HashMap, BuildHasherDefault>, } @@ -70,13 +70,6 @@ impl Clone for RawMap where Box: Clone { } } -impl Default for RawMap { - #[inline] - fn default() -> RawMap { - RawMap::new() - } -} - impl_common_methods! { field: RawMap.inner; new() => HashMap::with_hasher(Default::default());