Go to file
Manish Goregaokar 6f9984981e Merge pull request #25 from Twisol/lint-toplevel-ref-arg
Check for args like `fn foo(ref x: u8)`, where the `ref` is useless
2014-12-25 05:42:37 +05:30
examples add DList example 2014-11-20 12:37:45 +05:30
src Implement a lint to check for args like fn foo(ref x: u8), as the ref is effectively ignored by rustc. 2014-12-24 15:20:30 -08:00
.gitignore
Cargo.toml dylib 2014-12-25 04:43:56 +05:30
README.md Add seanmonstar's StrToString lint 2014-12-16 00:46:39 +05:30

rust-clippy

A collection of lints that give helpful tips to newbies.

Lints included in this crate:

  • clippy_single_match: Warns when a match statement with a single nontrivial arm (i.e, where the other arm is _ => {}) is used, and recommends if let instead.
  • clippy_box_vec: Warns on usage of Box<Vec<T>>
  • clippy_dlist: Warns on usage of DList
  • clippy_str_to_string: Warns on usage of str::to_string()

More to come, please file an issue if you have ideas!

Licensed under MPL. If you're having issues with the license, let me know and I'll try to change it to something more permissive.