diff options
| author | hrxi <hrrrxi@gmail.com> | 2022-11-10 19:42:20 +0100 |
|---|---|---|
| committer | hrxi <hrrrxi@gmail.com> | 2022-11-10 19:42:20 +0100 |
| commit | 3790aa3d5d14ef79b27776767985716844861f33 (patch) | |
| tree | c3c2dfd68985f61030658ed62c5b99fd4075c335 /src/test/rustdoc-ui/coverage/enum-tuple.rs | |
| parent | 4f1698db60e309884e9a7ccdc85e5dad7b84a28a (diff) | |
| download | rust-3790aa3d5d14ef79b27776767985716844861f33.tar.gz rust-3790aa3d5d14ef79b27776767985716844861f33.zip | |
Make `bool_to_int_with_if` a pedantic lint
In all the cases I've observed, it did not make the code clearer. Using bools as integer is frowned upon in some languages, in others it's simply not possible. You can find comments on the original pull request #8131 that agree with this point of view.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions
