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

Incorporate clippy reported suggestion #619

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

danielocfb
Copy link
Collaborator

Clippy suggests the usage of the vec! macro instead of manually creating an object and resizing it [0]. Follow the suggestion.

[0] https://rust-lang.github.io/rust-clippy/master/index.html#/slow_vector_initialization

Clippy suggests the usage of the vec! macro instead of manually creating
an object and resizing it [0]. Follow the suggestion.

[0] https://rust-lang.github.io/rust-clippy/master/index.html#/slow_vector_initialization

Signed-off-by: Daniel Müller <deso@posteo.net>
@danielocfb danielocfb merged commit 63b5c23 into libbpf:master Dec 4, 2023
10 checks passed
@danielocfb danielocfb deleted the topic/clippy branch December 4, 2023 19:51
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