Skip to content

Commit

Permalink
Impl Clone for FnvHasher (#33)
Browse files Browse the repository at this point in the history
This implement default `Clone` trait for `FnvHasher`, per ticket discussion.
  • Loading branch information
nyurik committed Dec 10, 2023
1 parent d908ffa commit 0d89a69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ const PRIME: u64 = 0x100000001b3;
///
/// See the [crate documentation](index.html) for more details.
#[allow(missing_copy_implementations)]
#[derive(Clone)]
pub struct FnvHasher(u64);

impl Default for FnvHasher {
Expand Down

0 comments on commit 0d89a69

Please sign in to comment.