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

rust: small patches #4125

Merged
merged 1 commit into from Oct 8, 2020
Merged

rust: small patches #4125

merged 1 commit into from Oct 8, 2020

Conversation

@Horki
Copy link
Contributor

@Horki Horki commented Oct 8, 2020

Small linter fixes for rust:

  • redundant static lifetimes
  • '-' as u8: changed to b'-'; byte literal
  • len() == 0; into is_empty()
  • needles lifetimes
  • etc..
@edolstra edolstra merged commit 9a1807a into NixOS:master Oct 8, 2020
2 checks passed
@edolstra
Copy link
Member

@edolstra edolstra commented Oct 8, 2020

Thanks!

@Horki Horki deleted the nix_rust_small_patches branch Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants