-
Notifications
You must be signed in to change notification settings - Fork 152
feat: cacheless hamt iteration #2216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
0979a8d
3cd52f7
f60806e
9debdbc
313aec8
1b9d346
a5a552f
b0385e5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changelog entry?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -72,9 +72,9 @@ pub enum Identity {} | |
|
|
||
| #[cfg(feature = "identity")] | ||
| impl HashAlgorithm for Identity { | ||
| fn hash<X: ?Sized>(key: &X) -> HashedKey | ||
| fn hash<X>(key: &X) -> HashedKey | ||
| where | ||
| X: Hash, | ||
| X: Hash + ?Sized, | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To fix a clippy warning |
||
| { | ||
| let mut ident_hasher = IdentityHasher::default(); | ||
| key.hash(&mut ident_hasher); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.