Skip to content

Ensure Xxh3Builder seed/secret are order-independent - #56

Merged
DoumanAsh merged 1 commit into
DoumanAsh:masterfrom
lukaslueg:issue54
Jul 21, 2026
Merged

Ensure Xxh3Builder seed/secret are order-independent#56
DoumanAsh merged 1 commit into
DoumanAsh:masterfrom
lukaslueg:issue54

Conversation

@lukaslueg

Copy link
Copy Markdown
Contributor

Mainly this adds a test for #54 (which now passes after 0ec2a5b), and also very slightly refactors the nested match

Comment thread src/xxh3.rs
(Some(seed), None) => (seed, const_custom_default_secret(seed)),
(None, Some(secret)) => (0, secret),
(None, None) => (0, DEFAULT_SECRET),
};

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove extra 4 white spaces in front of }

@DoumanAsh
DoumanAsh merged commit 63261ef into DoumanAsh:master Jul 21, 2026
7 checks passed
@lukaslueg
lukaslueg deleted the issue54 branch July 21, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants