-
Notifications
You must be signed in to change notification settings - Fork 341
Fix clippy warning #270
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 warning #270
Conversation
6ce9cdc
to
40822dd
Compare
40822dd
to
cc21bdf
Compare
Especially the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good! Just flagged something for @stjepang
@@ -69,12 +69,11 @@ where | |||
let future = task_local::add_finalizer(future); | |||
|
|||
let future = async move { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For @stjepang: This is not an equivalent transform. Reading the surrounding code, I also don't think that matters, but can you please revalidate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change looks fine by me. It doesn't really matter because res
is ()
.
@skade I think the default trait should be as much as possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last open question was resolved; this is looking good!
bors r+ |
I don't have the right to see it, but it looks like bors is waiting bors ping |
pong |
Yep, merging manually -- this has been an issue for all PRs for the last day or so. |
Looking at GitHub actions, it seems that clippy warnnings are accumulating.