about summary refs log tree commit diff
path: root/library/std/src/sys/pal/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-06 10:36:57 +0000
committerbors <bors@rust-lang.org>2024-09-06 10:36:57 +0000
commitfb9913ef3be6af354de0e0725d7f82a075d94b89 (patch)
tree9d89bb97aff5003341d40be2450bdcb4a486cfb9 /library/std/src/sys/pal/unix/stack_overflow.rs
parent7d7b298a4e26ee9998bc7756f740d65557ec67e2 (diff)
parentf994797e4612f97a0f489e794f30c2113ce8d61e (diff)
downloadrust-fb9913ef3be6af354de0e0725d7f82a075d94b89.tar.gz
rust-fb9913ef3be6af354de0e0725d7f82a075d94b89.zip
Auto merge of #13327 - Sour1emon:master, r=llogiq
Add new lint `manual_is_power_of_two`

Suggest using `is_power_of_two()` instead of the manual implementations for some basic cases

Part of https://github.com/rust-lang/rust-clippy/issues/12894

----

changelog: new [`manual_is_power_of_two`] lint
Diffstat (limited to 'library/std/src/sys/pal/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions