diff options
| author | Philipp Krones <hello@philkrones.com> | 2025-03-23 11:17:46 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-23 11:17:46 +0000 |
| commit | cad9083d7109a9003111c5ab886749b4c11cd250 (patch) | |
| tree | 8291cbf426cdfb01af23408ac6dbde6a8ce178a9 /src/test/codegen/src-hash-algorithm | |
| parent | c033a4c741bc7e8db0ffa49c110377f602d5c61c (diff) | |
| parent | 82381608c993262b562e56b8b52ff47b42650c8e (diff) | |
| download | rust-cad9083d7109a9003111c5ab886749b4c11cd250.tar.gz rust-cad9083d7109a9003111c5ab886749b4c11cd250.zip | |
Lint more cases in `collapsible_if` (#14231)
Replace the use of `Sugg::ast()` which prevented combining `if` together when they contained comments by span manipulation. A new configuration option `lint_commented_code`, which is `true` by default, allows opting out from this behavior. If reviewed on GitHub, the second commit of this PR is best looked at side by side, with whitespace differences turned off. changelog: [`collapsible_if`]: lint more cases
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
