Skip to content

Cleaned up some clippy warnings.

Jordan Petridis requested to merge (removed):master into master

Clippy is a collection of linters for rust.

Most of the changes are just formatting improvements. I setup Clippy to ignore the parse_transform module since it's autogenerated, but you might want to uncommenct this to check out the warnings it returns.

There still some warnings left. Mainly:

  • 10 needless_pass_by_value, They are mainly on functions that take foo: Rc<bar> as argument, or Enums so we maybe could ignore it too.
  • 4 float_cmp warnings.

I've allowed/skipped the following linters:

In every commit message there are links to the warnings it solves.

Edited by Jordan Petridis

Merge request reports