Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Feat: Add
bytemuck::Pod
toHasher::Hash
and remove unsafe code. #53Feat: Add
bytemuck::Pod
toHasher::Hash
and remove unsafe code. #53Changes from 4 commits
498d73c
687d8b1
74e1a9c
868328a
00d2019
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 92 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
docs for function returning `Result` missing `# Errors` section
Check warning on line 92 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
this function has an empty `#[must_use]` attribute, but returns a type already marked as `#[must_use]`
Check warning on line 248 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 258 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 265 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 288 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 310 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 457 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 501 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
used `cloned` where `copied` could be used instead
Check warning on line 512 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 516 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 562 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
redundant clone
Check warning on line 563 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
redundant clone
Check warning on line 580 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 626 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 652 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 657 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 693 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 711 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
temporary with significant `Drop` can be early dropped
Check warning on line 728 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 747 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
temporary with significant `Drop` can be early dropped
Check warning on line 749 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 760 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 789 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 826 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 948 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
temporary with significant `Drop` can be early dropped
Check warning on line 965 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 984 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
temporary with significant `Drop` can be early dropped
Check warning on line 986 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 997 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 1026 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 1063 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 1122 in src/lazy_merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 91 in src/merkle_tree.rs
GitHub Actions / clippy
used `cloned` where `copied` could be used instead
Check warning on line 112 in src/merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 153 in src/merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait
Check warning on line 154 in src/merkle_tree.rs
GitHub Actions / clippy
using `clone` on type `<H as Hasher>::Hash` which implements the `Copy` trait