Skip to content

Conversation

@ZapAnton
Copy link
Contributor

@ZapAnton ZapAnton commented Feb 12, 2019

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

self.len()
}

fn is_empty(&self) -> bool {
Copy link
Contributor

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?

Copy link
Contributor Author

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?

@windelbouwman windelbouwman merged commit 2645bfd into RustPython:master Feb 12, 2019
@ZapAnton ZapAnton deleted the fix_clippy_warnings branch February 12, 2019 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants