fix(clients/windows): clippy's manual_is_multiple_of on the rescan tick

`cargo clippy -p punktfunk-client-windows -- -D warnings` fails on main with the
pinned 1.96.0 toolchain: `ticks % 5 == 0` trips `manual_is_multiple_of`. Pre-existing
and not from this branch — found while gating the launcher work on .173, because
neither macOS nor Linux ever compiles this crate.

Clippy's own suggestion, applied verbatim.
This commit is contained in:
2026-08-06 14:50:18 +02:00
parent 6ae2ea6708
commit 58ee74cb58
+1 -1
View File
@@ -560,7 +560,7 @@ fn wake_and_connect(
None => {}
}
ticks += 1;
if ticks % 5 == 0 {
if ticks.is_multiple_of(5) {
rescan.request();
}
std::thread::sleep(Duration::from_secs(1));