-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fixed several clippy warnings #448
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
Fixed several clippy warnings #448
Conversation
@@ -127,6 +128,10 @@ impl<T: Clone> PySliceableSequence for Vec<T> { | |||
fn len(&self) -> usize { | |||
self.len() | |||
} | |||
|
|||
fn is_empty(&self) -> bool { |
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 probably is an infinite recursion?
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.
Given how len
is implemented I doubt it, but, just in case, perhaps some turbofish could be used here to call the real method?
This PR fixed the last batch of the simple clippy warnings.
The remaining warnings deal with the basic types representation and API, which potentially introduces breaking changes, therefore they will be dealt with in the separate PRs