mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
a85c8f33ff
Keep original literal notation in suggestion While I did some investigation of https://github.com/rust-lang/rust-clippy/issues/9866 (I couldn't reproduce it though) I found that `unused_rounding` formats as follows: ```rust 3.0_f64.round() // => 3.0f64 ``` This PR makes them preserve as the original notation. ```rust 3.0_f64.round() // => 3.0_f64 ``` changelog: Suggestion Enhancement: [`unused_rounding`]: The suggestion now preserves the original float literal notation |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |