Skip to content

Fix another clippy issue. #88

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

Merged
merged 2 commits into from
Apr 10, 2017
Merged

Fix another clippy issue. #88

merged 2 commits into from
Apr 10, 2017

Conversation

rillian
Copy link
Contributor

@rillian rillian commented Apr 10, 2017

No description provided.

rillian added 2 commits April 10, 2017 15:34
When comparing vector lengths to zero, use the is_empty()
method instead of a direct comparison. Style nit suggested
by clippy.
These became natively usize instead of u32 at some point;
the values come from the return value of Vec::len().
@kinetiknz kinetiknz merged commit 02d54e6 into mozilla:master Apr 10, 2017
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