rust/clippy_lints
bors[bot] 7e417d4cbd Merge #3353
3353: float support added for mistyped_literal_suffixes lint r=mikerite a=Maxgy

I implemented the mistyped_literal_suffixes lint for float literals.

```
#![allow(unused_variables)]

fn main() {
    let x = 1E2_32;
    let x = 75.22_64;
}
```
Given the above, the additional check suggests the variables to be written as `let x = 1E2_f32` and `let x = 75.22_f64`.

Fixes #3167 

Co-authored-by: Maxwell Anderson <maxwell.brayden.anderson@gmail.com>
2018-11-05 03:58:15 +00:00
..
src Merge #3353 2018-11-05 03:58:15 +00:00
Cargo.toml remove cargo edition 2018 feature gate. 2018-09-30 11:12:24 +02:00
README.md Fix crates.io site name 2017-12-15 00:33:23 +02:00

This crate contains Clippy lints. For the main crate, check crates.io or GitHub.