Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug: array slice naming error and generic option (#275)
<!--- Please provide a general summary of your changes in the title above --> 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 try to limit your pull request to one type; submit multiple pull requests if needed. --> Please check the type of change your PR introduces: - [x] Bugfix - [ ] Feature - [x] 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 - [x] No
- Loading branch information