clippy_lints 0.0.107

A bunch of helpful lints to avoid common pitfalls in Rust

Module clippy_lints::needless_bool [] [src]

Checks for needless boolean results of if-else expressions

This lint is warn by default

Structs

BoolComparison
NeedlessBool

Statics

BOOL_COMPARISON
NEEDLESS_BOOL