-
Notifications
You must be signed in to change notification settings - Fork 33
[FIX]: Comma/formatting errors #149
Copy link
Copy link
Open
Labels
good first issueGood for newcomersGood for newcomershacktoberfestIssues that are opened for hactoberfestIssues that are opened for hactoberfest
Description
Summary
Redundant block parentheses and formatting inconsistencies reduce clarity.
Type
style
Context
Formatting issues clutter diffs and reduce readability. These should be cleaned up.
Starter tasks
- Run Clippy and Rustfmt to detect formatting issues.
- Fix redundant commas and style inconsistencies.
Implementation hints
- Run
cargo clippy -- -W clippy::redundant_parens. - Check with
rust fmtas well. - Else go to files one at a time and fix redundant usage of puntuations.
- Use
cargo fmtfor consistent formatting.
Acceptance criteria
- No redundant parentheses remain.
- Code formatted consistently.
Clippy Command
cargo clippy -- -W clippy::redundant_parensContribution Guidelines:
- Fork the repository and create a new branch for your work.
- Ensure the code follows Rust best practices and coding standards.
- Run
cargo clippyandcargo fmtbefore submitting. - Add unit tests if functionality changes.
- Keep commits small and meaningful.
Resources:
Submission Process:
- Ask the maintainers for assignment of the issue, you can request for assignment by commenting on the issue itself.
- Once assigned, submit a pull request (PR).
- Maintainers will review and provide feedback, if any.
- Maintainers can unassign issues due to inactivity, read more here.
- For this issue, please submit a PR on @juspay/deicision-engine repo, and link it to the issue.
Mentor contact
@prajjwalkumar17 @Sarthak1799 @jagan-jaya @GauravRawat369
Pre-flight
- I read the Contributing Guide and setup
- I searched existing issues and PRs
Refer here for Terms and conditions for the contest.
If you have any questions or need help getting started, feel free to ask in the comments!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershacktoberfestIssues that are opened for hactoberfestIssues that are opened for hactoberfest