Skip to content
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: Export to_bytes::ToBytes #6217

Closed
wants to merge 1 commit into from
Closed

FIX: Export to_bytes::ToBytes #6217

wants to merge 1 commit into from

Conversation

Sodel-the-Vociferous
Copy link
Contributor

No description provided.

bors added a commit that referenced this pull request May 3, 2013
@bors bors closed this May 3, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 3, 2020
Add lint for comparing to empty slices instead of using .is_empty()

Hey first time making a clippy lint

I added the implementation of the lint the `len_zero` since it shared a lot of the code, I would otherwise have to rewrite. Just tell me if the lint should use it's own file instead

changelog: Add lint for comparing to empty slices

Fixes rust-lang#6217
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