Recent clippy nightly update introduces warnings about precedence. While ours are, IMO, clear the lint docs have some cases that are not so I don't think we should ignore this lint. Specifically I could easily miss this one 1 << 2 + 3 equals 32, while (1 << 2) + 3 equals 7 ref: https://rust-lang.github.io/rust-clippy/master/#/precede Add parenthesis to explicitly show precedence. Refactor only no logic changes. |
||
---|---|---|
.. | ||
contrib | ||
embedded | ||
examples | ||
src | ||
tests | ||
CHANGELOG.md | ||
Cargo.toml |