Nothing Special   »   [go: up one dir, main page]

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

fix: fix slice init length #2734

Merged
merged 1 commit into from
Sep 28, 2024
Merged

fix: fix slice init length #2734

merged 1 commit into from
Sep 28, 2024

Conversation

cuishuang
Copy link
Contributor

The intention here should be to initialize a slice with a capacity of 5 rather than initializing the length of this slice.

Signed-off-by: cuishuang <imcusg@gmail.com>
Copy link
sonarcloud bot commented Sep 27, 2024

@baerwang baerwang merged commit fb4ff16 into apache:main Sep 28, 2024
5 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.

2 participants