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 clippy warnings #5891

Merged
merged 1 commit into from
Jul 28, 2023
Merged

Fix clippy warnings #5891

merged 1 commit into from
Jul 28, 2023

Conversation

NobodyXu
Copy link
Contributor

Motivation

There are a few clippy warnings to fix.

Solution

Fix them and it also simplifies the code a bit.

@github-actions github-actions bot added R-loom-current-thread Run loom current-thread tests on this PR R-loom-multi-thread Run loom multi-thread tests on this PR R-loom-multi-thread-alt Run loom multi-thread alt tests on this PR labels Jul 28, 2023
Signed-off-by: Jiahao XU <[email protected]>
Copy link
Contributor

@Darksonn Darksonn left a comment

Choose a reason for hiding this comment

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

Thanks.

@Darksonn Darksonn added A-tokio-util Area: The tokio-util crate A-tokio Area: The main tokio crate A-tokio-stream Area: The tokio-stream crate labels Jul 28, 2023
@Darksonn Darksonn merged commit 5128601 into tokio-rs:master Jul 28, 2023
@NobodyXu NobodyXu deleted the fix/clippy branch July 28, 2023 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate A-tokio-stream Area: The tokio-stream crate A-tokio-util Area: The tokio-util crate R-loom-current-thread Run loom current-thread tests on this PR R-loom-multi-thread Run loom multi-thread tests on this PR R-loom-multi-thread-alt Run loom multi-thread alt tests on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants