-
Notifications
You must be signed in to change notification settings - Fork 55
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 across pyrometer #81
Conversation
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.
@brockelmore Could you look at this change? was 2 unused vars but i think they need to be used here
|
||
let nulls = self.ranges.iter().fold(0, |mut acc, e| { | ||
if matches!(e, Elem::Null) { | ||
acc += 1; | ||
} | ||
acc | ||
}); | ||
// let nulls = self.ranges.iter().fold(0, |mut acc, e| { | ||
// if matches!(e, Elem::Null) { | ||
// acc += 1; | ||
// } | ||
// acc | ||
// }); | ||
|
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.
dont know the original intention here, but decided to comment it rather than leading underscore the unused nulls
var
No description provided.