Skip to content

Make clippy happy #11867

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

Closed
wants to merge 1 commit into from
Closed

Make clippy happy #11867

wants to merge 1 commit into from

Conversation

0xPoe
Copy link
Member

@0xPoe 0xPoe commented Mar 18, 2023

Follow up #11828

r? @weihanglo

Signed-off-by: hi-rustin <[email protected]>
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 18, 2023
@weihanglo
Copy link
Member

Sorry I am confused. Did it complain? I thought tests were excluded from clippy check in CI.

@0xPoe
Copy link
Member Author

0xPoe commented Mar 18, 2023

Sorry I am confused. Did it complain? I thought tests were excluded from clippy check in CI.

Yes. It only complains when I run it locally. Run cargo clippy --all --all-targets.

Copy link
Member

@weihanglo weihanglo left a comment

Choose a reason for hiding this comment

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

I see. We have yet enable clippy for all cargo targets. There is a plan to clippyy all crates in this repository after it becomes a workspace (#11851).

Besides, I feel like we should allow std::env throughout the whole integration test. What do people think?

@0xPoe
Copy link
Member Author

0xPoe commented Mar 19, 2023

Besides, I feel like we should allow std::env throughout the whole integration test. What do people think?

Yes, I agree. It makes sense to ignore it in tests.

@0xPoe
Copy link
Member Author

0xPoe commented Mar 23, 2023

Closed by #11851

@0xPoe 0xPoe closed this Mar 23, 2023
@epage epage mentioned this pull request Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants