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

Fix warning about range step #199

Merged
merged 1 commit into from
Oct 5, 2024
Merged

Fix warning about range step #199

merged 1 commit into from
Oct 5, 2024

Conversation

maennchen
Copy link
Contributor

Fixes the following warning:

warning: Range.new/2 has a default step of -1, please call Range.new/3 explicitly passing the step of -1 instead
  (stream_data 1.1.1) lib/stream_data.ex:1723: anonymous fn/3 in StreamData.power_of_two_with_zero/1

warning: Range.new/2 has a default step of -1, please call Range.new/3 explicitly passing the step of -1 instead
  (stream_data 1.1.1) lib/stream_data.ex:1723: anonymous fn/3 in StreamData.power_of_two_with_zero/1
@whatyouhide whatyouhide changed the title Fix Range Step Warning Fix warning about range step Oct 5, 2024
@whatyouhide whatyouhide merged commit 018aac0 into whatyouhide:main Oct 5, 2024
2 checks passed
@whatyouhide
Copy link
Owner

Thanks @maennchen! 💟

@maennchen maennchen deleted the range_warning branch October 5, 2024 13:50
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.

2 participants