about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/enum-tuple.rs
diff options
context:
space:
mode:
authorhrxi <hrrrxi@gmail.com>2022-11-10 19:42:20 +0100
committerhrxi <hrrrxi@gmail.com>2022-11-10 19:42:20 +0100
commit3790aa3d5d14ef79b27776767985716844861f33 (patch)
treec3c2dfd68985f61030658ed62c5b99fd4075c335 /src/test/rustdoc-ui/coverage/enum-tuple.rs
parent4f1698db60e309884e9a7ccdc85e5dad7b84a28a (diff)
downloadrust-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