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

bug: array slice naming error and generic option #275

Merged
merged 1 commit into from
Feb 12, 2024
Merged

Conversation

b-j-roberts
Copy link
Contributor

@b-j-roberts b-j-roberts commented Feb 8, 2024

The current implementation of array slices had a variable naming issue, where len and end seems to represent end and len respectively. Confusion leaked into the function description as well.

I also created a generic array_slice.

Pull Request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Other (please describe):

Does this introduce a breaking change?

  • Yes
  • No

@b-j-roberts b-j-roberts changed the title bug: array slice confusing naming and generic option bug: array slice naming error and generic option Feb 8, 2024
Copy link
Collaborator

@0xLucqs 0xLucqs left a comment

Choose a reason for hiding this comment

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

use while loop

@b-j-roberts b-j-roberts force-pushed the bug/array_slices branch 2 times, most recently from 9a15f67 to ee5bc9f Compare February 9, 2024 17:34
@0xLucqs 0xLucqs merged commit 417c5a8 into main Feb 12, 2024
6 checks passed
@0xLucqs 0xLucqs deleted the bug/array_slices branch February 12, 2024 10:57
@github-actions github-actions bot locked and limited conversation to collaborators Feb 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants