Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore needless_late_init Clippy lint
error: unneeded late initalization --> tests/../src/lexical/float.rs:173:9 | 173 | let exp: u64; | ^^^^^^^^^^^^^ | = note: `-D clippy::needless-late-init` implied by `-D clippy::all` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_late_init help: declare `exp` here | 174 | let exp: u64 = if (fp.exp == F::DENORMAL_EXPONENT) && (fp.mant & F::HIDDEN_BIT_MASK.as_u64()) == 0 { | ++++++++++++++ help: remove the assignments from the branches | 175 ~ 0 176 | } else { 177 ~ (fp.exp + F::EXPONENT_BIAS) as u64 | help: add a semicolon after the `if` expression | 178 | }; | +
- Loading branch information