about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorLeonardo Yvens <leoyvens@gmail.com>2017-06-21 10:47:29 -0300
committerGitHub <noreply@github.com>2017-06-21 10:47:29 -0300
commit6e628bee95ab97f1dd9ab3cfb1e7b8a782564d8d (patch)
tree354021d5a150effd3b2fb335a10c2463f7927eba /src/libstd
parent03198da2add75a0bcec792ffd84fcc8d94e8637e (diff)
downloadrust-6e628bee95ab97f1dd9ab3cfb1e7b8a782564d8d.tar.gz
rust-6e628bee95ab97f1dd9ab3cfb1e7b8a782564d8d.zip
Impl Clone for DefaultHasher
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/collections/hash/map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs
index 8c4cbb66b45..aef88e3d563 100644
--- a/src/libstd/collections/hash/map.rs
+++ b/src/libstd/collections/hash/map.rs
@@ -2384,7 +2384,7 @@ impl BuildHasher for RandomState {
 /// [`Hasher`]: ../../hash/trait.Hasher.html
 #[stable(feature = "hashmap_default_hasher", since = "1.13.0")]
 #[allow(deprecated)]
-#[derive(Debug)]
+#[derive(Clone, Debug)]
 pub struct DefaultHasher(SipHasher13);
 
 impl DefaultHasher {