-
Notifications
You must be signed in to change notification settings - Fork 13
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
refactor: re-format files according to new rustfmt config #151
Conversation
WalkthroughThis pull request encompasses a series of formatting changes across multiple files in the codebase, primarily focusing on enhancing code readability. Adjustments include the removal of unnecessary line breaks in method calls and error handling, as well as minor modifications to the alignment of code elements. The changes do not affect the functionality or logic of the code, ensuring that all existing behaviors remain intact while improving overall clarity. Changes
Possibly related PRs
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (14)
✅ Files skipped from review due to trivial changes (10)
🔇 Additional comments (11)crates/zk/nova/src/insert.rs (3)
The consolidation of the method chain into a single line improves readability while maintaining the same functionality.
The consolidation of the verification call and error mapping improves code conciseness while maintaining clarity.
The consolidation of the leaf extraction and error handling improves code conciseness while maintaining clarity. crates/node_types/prover/src/webserver.rs (2)Line range hint The match expression follows standard Rust formatting practices with proper alignment and clear error messages. Line range hint The use of crates/zk/groth16/src/lib.rs (2)
The consolidation of the mapping operation into a single line improves readability while maintaining the same functionality.
The formatting with line break after assignment follows a consistent style with other similar constructs in the codebase. crates/zk/nova/src/utils.rs (4)
The formatting change improves readability while preserving the logic.
The reformatting improves readability of the chained operations.
The consolidated formatting improves code conciseness.
The formatting changes improve readability of the bit manipulation operations while maintaining the original logic. Also applies to: 428-428, 431-431 Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit
New Features
get_hashchain
function for better clarity.Bug Fixes
Documentation
Refactor
Style
Tests