-
Notifications
You must be signed in to change notification settings - Fork 4
Chore/fix clippy #407
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
Chore/fix clippy #407
Conversation
nikkolasg
left a comment
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.
Yessss ! Thank you so much ! 🙏
Now that we can start from a "green" codebase, our OCDs will be satisfied ;)
nicholas-mainardi
left a comment
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.
LGTM! Just left a few minor comments. Thanks a lot for taking this burden
recursion-framework/src/universal_verifier_gadget/circuit_set.rs
Outdated
Show resolved
Hide resolved
recursion-framework/src/universal_verifier_gadget/circuit_set.rs
Outdated
Show resolved
Hide resolved
| pub(crate) const CONTRACT_SET_NUM_IO: usize = contract_extraction::PublicInputs::<F>::TOTAL_LEN; | ||
| pub(crate) const VALUE_SET_NUM_IO: usize = values_extraction::PublicInputs::<F>::TOTAL_LEN; | ||
| // CHORE: Remove this when relevant PR is merged | ||
| #[allow(dead_code)] |
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.
This constant could be erased if unused I think
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.
Okay cool, just didn't want to get rid of it if it was about to be used in a PR thats in Review.
|
|
||
| impl MergeCircuitInput { | ||
| // CHORE: Remove this when relevant PR is merged | ||
| #[allow(dead_code)] |
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.
This method as well can be removed if unused
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.
Alright cool will do
10ec95c to
f4e42af
Compare
eacde4a to
b08558a
Compare
This PR addresses warning produced by `cargo clippy`, it also adds an example pre-commit hook for people to install if they wish so that `cargo fmt --all -- --check` and `cargo clippy` will run every time you commit locally as well as a guide to install the hook.
This PR addresses warning produced by
cargo clippy, it also adds an example pre-commit hook for people to install if they wish so thatcargo fmt --all -- --checkandcargo clippywill run every time you commit locally as well as a guide to install the hook.