style(pf-encode): clear the clippy gate on the HDR/PyroWave additions
`cargo clippy --workspace --all-targets --locked -- -D warnings` was red on main — three lints landed with the GNOME 50 HDR + PyroWave 4:4:4 work: * pyrowave_wire.rs: `aw / 2 >> level` tripped clippy::precedence. Rust already binds `/` tighter than `>>`, so this always parsed as `(aw / 2) >> level` (subband dim at half res, then one halving per DWT level) — the parens are purely explicit, no change in behaviour. * linux/mod.rs: `probe_can_encode_10bit` sat after `mod hdr_tests` (clippy::items_after_test_module) — moved above the test module, unchanged. Lint-only; no functional change. fmt/clippy/test all green afterwards. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -226,8 +226,8 @@ mod tests {
|
||||
let (aw, ah) = (align(w), align(h));
|
||||
let mut n = 0u32;
|
||||
for level in (0..5u32).rev() {
|
||||
let per = ((aw / 2 >> level).div_ceil(8).div_ceil(4))
|
||||
* ((ah / 2 >> level).div_ceil(8).div_ceil(4));
|
||||
let per = (((aw / 2) >> level).div_ceil(8).div_ceil(4))
|
||||
* (((ah / 2) >> level).div_ceil(8).div_ceil(4));
|
||||
let bands = if level == 4 { 4 } else { 3 };
|
||||
for c in 0..3 {
|
||||
if level == 0 && c != 0 && !c444 {
|
||||
|
||||
Reference in New Issue
Block a user