Skip to content

Commit 6e628be

Browse files
authored
Impl Clone for DefaultHasher
1 parent 03198da commit 6e628be

File tree

1 file changed

+1
-1
lines changed
  • src/libstd/collections/hash

1 file changed

+1
-1
lines changed

src/libstd/collections/hash/map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2384,7 +2384,7 @@ impl BuildHasher for RandomState {
23842384
/// [`Hasher`]: ../../hash/trait.Hasher.html
23852385
#[stable(feature = "hashmap_default_hasher", since = "1.13.0")]
23862386
#[allow(deprecated)]
2387-
#[derive(Debug)]
2387+
#[derive(Clone, Debug)]
23882388
pub struct DefaultHasher(SipHasher13);
23892389

23902390
impl DefaultHasher {

0 commit comments

Comments
 (0)