Fix some cases for `approx_const`: - When the literal has more digits than significant ones, the string comparison wasn't working - When numbers are formatted in a non trivial way (with leading `0`s or using `_`) the lint now finds those cases changelog: [`approx_const`]: Fix when used over overly precise literals and non trivially formatted numerals Fixes rust-lang/rust-clippy#15194 |
||
|---|---|---|
| .. | ||
| test_utils | ||
| ui | ||
| ui-cargo | ||
| ui-internal | ||
| ui-toml | ||
| workspace_test | ||
| check-fmt.rs | ||
| clippy.toml | ||
| compile-test.rs | ||
| config-metadata.rs | ||
| dogfood.rs | ||
| integration.rs | ||
| lint_message_convention.rs | ||
| missing-test-files.rs | ||
| symbols-used.rs | ||
| versioncheck.rs | ||
| workspace.rs | ||