Skip to content

fix: fix slice init length#1260

Merged
tomer-stripe merged 2 commits intostripe:masterfrom
cuishuang:master
Mar 23, 2026
Merged

fix: fix slice init length#1260
tomer-stripe merged 2 commits intostripe:masterfrom
cuishuang:master

Conversation

@cuishuang
Copy link
Copy Markdown
Contributor

Reviewers

r? @
cc @stripe/developer-products

Summary

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

The online demo: https://go.dev/play/p/q1BcVCmvidW

@cuishuang cuishuang requested a review from a team as a code owner October 4, 2024 10:56
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Oct 4, 2024

CLA assistant check
All committers have signed the CLA.

@cuishuang
Copy link
Copy Markdown
Contributor Author

@tomas-stripe @vcheung-stripe @charliecruzan-stripe Hi, could you please review this PR? Thank you!

@tomer-stripe tomer-stripe merged commit 24f54b0 into stripe:master Mar 23, 2026
7 checks passed
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.

3 participants