Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jRimbault
seahash
Commits
2ff599ad
Unverified
Commit
2ff599ad
authored
Jan 29, 2020
by
Tom Almeida
Browse files
stream: Add `Clone` and `Copy` derive for `SeaHasher`
Fixes #4.
parent
5fdb9823
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream.rs
View file @
2ff599ad
...
...
@@ -3,6 +3,7 @@ use core::hash::Hasher;
use
{
hash_seeded
,
helper
};
/// The streaming version of the algorithm.
#[derive(Clone,
Copy)]
pub
struct
SeaHasher
{
/// The state of the hasher.
state
:
u64
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment