-
Notifications
You must be signed in to change notification settings - Fork 106
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): Resolve some lifetime and reference lints #4578
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4578 +/- ##
==========================================
- Coverage 78.84% 78.75% -0.09%
==========================================
Files 304 304
Lines 37318 37330 +12
==========================================
- Hits 29423 29400 -23
- Misses 7895 7930 +35 |
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.
📎🖇️🦀
I was wondering about the |
@Mergifyio update |
✅ Branch has been successfully updated |
* Fix significant drop in match scrutinee rust-lang/rust#93883 * Fix deref immutable value * Fix explicit 0 index when first() would do Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Motivation
Clippy has some new lints on nightly, we should resolve them to avoid subtle bugs.
Solution
get(0)
whenfirst()
works and is clearerReview
Anyone can review this PR, it is optional.
Reviewer Checklist