rust/book
Alejandra González 02764f611a
Various fixes for manual_is_power_of_two (#14463)
Fix #14461:

- insert parentheses as required in suggestion
- check MSRV before suggesting fix in `const` context
- do not lint macro expansion result

Commits have been logically separated to facilitate review, and start
with a refactoring (and simplification) of the existing code.

changelog: [`manual_is_power_of_two`]: insert parentheses as required in
suggestion, check MSRV before suggesting fix in `const` context, do not
lint macro expansion results
2025-04-14 22:56:38 +00:00
..
src Various fixes for manual_is_power_of_two (#14463) 2025-04-14 22:56:38 +00:00
book.toml Merge commit '51d49c1ae2' into clippy-subtree-update 2025-01-28 19:33:54 +01:00
README.md Merge commit 'fdb84cbfd2' into clippyup 2022-07-18 09:39:37 +02:00

Clippy Book

This is the source for the Clippy Book. See the book for more information.