mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-28 07:30:57 +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 |
||
---|---|---|
.. | ||
test_utils | ||
ui | ||
ui-cargo | ||
ui-internal | ||
ui-toml | ||
workspace_test | ||
check-fmt.rs | ||
clippy.toml | ||
compile-test.rs | ||
dogfood.rs | ||
integration.rs | ||
lint_message_convention.rs | ||
missing-test-files.rs | ||
versioncheck.rs | ||
workspace.rs |