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

Remove unnecessary imports #681

Merged
merged 1 commit into from
Feb 20, 2024
Merged

Remove unnecessary imports #681

merged 1 commit into from
Feb 20, 2024

Conversation

danielocfb
Copy link
Collaborator

Use declarations such as those for crate::libbpf_sys serve no purpose, because the crate is already known globally. Remove them and similar ones, such as for std::boxed::Box, which is in the prelude and, hence, available automatically.

Use declarations such as those for `crate::libbpf_sys` serve no purpose,
because the crate is already known globally. Remove them and similar
ones, such as for `std::boxed::Box`, which is in the prelude and, hence,
available automatically.

Signed-off-by: Daniel Müller <[email protected]>
@danielocfb danielocfb merged commit 0b7ee3c into libbpf:master Feb 20, 2024
12 checks passed
@danielocfb danielocfb deleted the topic/useless-uses branch February 20, 2024 18:14
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