Skip to content

Conversation

@rusttech
Copy link
Contributor

@rusttech rusttech commented Oct 2, 2024

The intention here should be to initialize a slice with a capacity of len(refs) rather than initializing the length of this slice.

@rusttech rusttech requested a review from a team as a code owner October 2, 2024 05:36
Copy link
Member

@chrisd8088 chrisd8088 left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution!

This looks obviously correct to me, so I'll merge it in once our CI tests pass.

Fortunately, there appears to be an existing test which exercises this code, so we don't need to add any extra tests for this PR.

Thanks again for the patch!

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