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
chore: add clippy::string_slice #1064
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1064 +/- ##
=====================================
Coverage 89.4% 89.4%
=====================================
Files 61 61
Lines 15464 15468 +4
=====================================
+ Hits 13833 13838 +5
+ Misses 1631 1630 -1 ☔ View full report in Codecov by Sentry. |
.ok_or(ParseColorError)?; | ||
let blue = s | ||
.get(5..7) | ||
.and_then(|v| u8::from_str_radix(v, 16).ok()) |
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 would prefer non single letter variable names. Maybe str
, maybe blue
?
btw @EdJoPaTo I think you were right about that multiple dependencies lint.
|
Fixes: #1056