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

Get rid of an unnecessary slice in Promise. #310

Merged
merged 1 commit into from
Sep 30, 2022

Conversation

zenhack
Copy link
Contributor

@zenhack zenhack commented Sep 26, 2022

This only ever has length 1, so let's just use a pointer.

I would hazard a guess this is a holdover from the logic for .Join() that was removed.

This only ever has length 1, so let's just use a pointer.

I would hazard a guess this is a holdover from the logic for .Join()
that was removed.
@zenhack zenhack mentioned this pull request Sep 27, 2022
@zenhack zenhack merged commit 9aab131 into capnproto:main Sep 30, 2022
@zenhack zenhack deleted the kill-needless-slice branch September 30, 2022 19:00
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