diff options
| author | bors <bors@rust-lang.org> | 2022-11-20 22:09:25 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-11-20 22:09:25 +0000 |
| commit | a85c8f33ff0da5192bb44ac52cb838f638ad7c03 (patch) | |
| tree | 8089b25578eb7df3d65cfad47d5451740fecab76 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | d445ced166b57f304b19d9e2bcd45336a96a8705 (diff) | |
| parent | 1baa6cd591982471475895fc3256d5162a651628 (diff) | |
| download | rust-a85c8f33ff0da5192bb44ac52cb838f638ad7c03.tar.gz rust-a85c8f33ff0da5192bb44ac52cb838f638ad7c03.zip | |
Auto merge of #9870 - koka831:unformat-unused-rounding, r=Jarcho
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
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
