File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
10
10
### Added
11
11
12
12
- Added ` Debug ` implementations to hashers.
13
+ - Added ` Clone ` implementations to hashers.
13
14
14
15
### Changed
15
16
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const PRIME: u32 = 0x1000193;
8
8
/// Specifically this implements the [FNV-1a hash].
9
9
///
10
10
/// [FNV-1a hash]: https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function#FNV-1a_hash
11
- #[ derive( Debug ) ]
11
+ #[ derive( Debug , Clone ) ]
12
12
pub struct FnvHasher {
13
13
state : u32 ,
14
14
}
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ use core::slice;
4
4
use crate :: Hasher as _;
5
5
6
6
/// 32-bit `MurmurHash3` hasher
7
- #[ derive( Debug ) ]
7
+ #[ derive( Debug , Clone ) ]
8
8
pub struct Murmur3Hasher {
9
9
buf : Buffer ,
10
10
index : Index ,
11
11
processed : u32 ,
12
12
state : State ,
13
13
}
14
14
15
- #[ derive( Debug ) ]
15
+ #[ derive( Debug , Clone ) ]
16
16
struct State ( u32 ) ;
17
17
18
18
#[ derive( Debug , Clone , Copy ) ]
You can’t perform that action at this time.
0 commit comments