Skip to content

A bunch of lints to help avoid newbie pitfalls.

Notifications You must be signed in to change notification settings

ajnirp/rust-clippy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

A bunch of lints to help avoid newbie pitfalls.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%