Skip to content
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

Rust v0.1.1 #4

Merged
merged 1 commit into from
Mar 17, 2024
Merged

Rust v0.1.1 #4

merged 1 commit into from
Mar 17, 2024

Conversation

MusicalNinjaDad
Copy link
Owner

Use a match expression rather than if else if
Thanks again, sourcery.ai

Copy link

codecov bot commented Mar 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (3ae8071) to head (97edefe).

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #4   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           12        12           
  Branches         1         1           
=========================================
  Hits            12        12           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @MusicalNinjaDad - I've reviewed your changes and they look great!

General suggestions:

  • Consider adding comments to the match arms to explain the logic, especially for those unfamiliar with the fizzbuzz problem.
  • Review the match expression for potential simplification or further optimization opportunities.
Here's what I looked at during the review
  • 🟡 General issues: 1 issue found
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Docstrings: all looks good

Thanks for using Sourcery. We offer it for free for open source projects and would be very grateful if you could help us grow. If you like it, would you consider sharing Sourcery on your favourite social media? ✨

Share Sourcery

Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

src/lib.rs Show resolved Hide resolved
@MusicalNinjaDad MusicalNinjaDad merged commit 7d8af2e into main Mar 17, 2024
10 checks passed
@MusicalNinjaDad MusicalNinjaDad deleted the rust-v0.1.1 branch March 17, 2024 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant