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

Apply trivial clippy fixes #22

Merged
merged 4 commits into from
Aug 16, 2022
Merged

Apply trivial clippy fixes #22

merged 4 commits into from
Aug 16, 2022

Conversation

passcod
Copy link
Contributor

@passcod passcod commented Aug 15, 2022

Does a lot of #5

The formatting is applied in a separate commit so it's easier to see what was clippy and what wasn't.

I ignored these lints, which would require deeper code changes:

  • clippy::wrong_self_convention
  • clippy::borrow_interior_mutable_const
  • clippy::extra_unused_lifetimes
  • clippy::explicit_auto_deref
  • clippy::too_many_arguments
  • clippy::large_enum_variant
  • clippy::should_implement_trait
  • clippy::useless_conversion
  • clippy::needless_range_loop
  • clippy::format_push_string
  • clippy::borrowed_box
  • clippy::declare_interior_mutable_const

With this PR, we go from 275 clippy warnings to just 62.

@mtshiba mtshiba merged commit e3726de into erg-lang:main Aug 16, 2022
@mtshiba
Copy link
Member

mtshiba commented Aug 16, 2022

Thanks!

@passcod passcod deleted the clippy branch August 17, 2022 00:07
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