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

NFC simplification of get_value_from_code #25

Conversation

LilithHafner
Copy link
Contributor

eliminates 1:length(code) construct
increases concision
doesn't change the generated code.
(NFC stands for no functionality change)

eliminates `1:length(code)` construct
increases concision
doesn't change the generated code.
@codecov-commenter
Copy link

codecov-commenter commented Sep 23, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.35%. Comparing base (f16eec8) to head (81047ab).
Report is 5 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #25   +/-   ##
=======================================
  Coverage   99.35%   99.35%           
=======================================
  Files           1        1           
  Lines         468      468           
=======================================
  Hits          465      465           
  Misses          3        3           

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

@LilithHafner
Copy link
Contributor Author

This is mostly a style choice. I won't be offended if you decline it.

@GunnarFarneback
Copy link
Owner

It's kind of neutral to me, but at the very least it should have been an eachindex.

@GunnarFarneback GunnarFarneback merged commit b04ce13 into GunnarFarneback:master Sep 23, 2024
17 checks passed
@LilithHafner LilithHafner deleted the lh/get-value-from-code-style branch September 23, 2024 20:35
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.

3 participants