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

cleanup: Use higher level slice APIs instead of direct indexing #626

Merged
merged 1 commit into from
Apr 23, 2022
Merged

cleanup: Use higher level slice APIs instead of direct indexing #626

merged 1 commit into from
Apr 23, 2022

Conversation

lopopolo
Copy link
Contributor

I took a peek at this code when I was working on #625 and it took me a
bit to reason that this code won't ever panic. I reworked it to use
various "split" APIs on the slice which make this more obvious.

I took a peek at this code when I was working on #625 and it took me a
bit to reason that this code won't ever panic. I reworked it to use
various "split" APIs on the slice which make this more obvious.
@gwenn gwenn merged commit 375377b into kkawakam:master Apr 23, 2022
@lopopolo lopopolo deleted the lopopolo/slice-panic branch April 23, 2022 06: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.

None yet

2 participants