rust-bitcoin-unsafe-fast/chacha20_poly1305/src
Tobin C. Harding 2c9fda4135
Add parenthesis to explicitly show precedence
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.
2025-01-04 15:25:00 +11:00
..
chacha20.rs Remove test_ prefix from unit tests 2025-01-02 10:06:50 +11:00
lib.rs Remove test_ prefix from unit tests 2025-01-02 10:06:50 +11:00
poly1305.rs Add parenthesis to explicitly show precedence 2025-01-04 15:25:00 +11:00