diff options
| author | bors <bors@rust-lang.org> | 2021-05-17 18:57:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-05-17 18:57:14 +0000 |
| commit | a3223af9fe2224c96da631de20a10e10295849da (patch) | |
| tree | 1619de63510a9fa4742e17c8250343ecc6631be1 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 1aad7541db90a4d70b01a0e4c9d41f9e683f8e9b (diff) | |
| parent | 0dcde712246d417c9cdfedb73b518edaa2b8c60a (diff) | |
| download | rust-a3223af9fe2224c96da631de20a10e10295849da.tar.gz rust-a3223af9fe2224c96da631de20a10e10295849da.zip | |
Auto merge of #7133 - arya-k:master, r=llogiq
Add `needless_bitwise_bool` lint fixes #6827 fixes #1594 changelog: Add ``[`needless_bitwise_bool`]`` lint Creates a new `bitwise_bool` lint to convert `x & y` to `x && y` when both `x` and `y` are booleans. I also had to adjust thh `needless_bool` lint slightly, and fix a couple failing dogfood tests. I made it a correctness lint as per flip1995's comment [here](https://github.com/rust-lang/rust-clippy/pull/3385#issuecomment-434715723), from a previous WIP attempt at this lint.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
