From 13dc7fc49fba08e5d636863331d83029a066589a Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Sat, 4 Jul 2026 07:47:16 +0000 Subject: [PATCH] style(linux): rustfmt the keyframe-recovery throttle line Wrap the `last_kf_req.is_none_or(...)` guard to satisfy `cargo fmt --all --check` (CI Format step). Co-Authored-By: Claude Opus 4.8 (1M context) --- clients/linux/src/session.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/linux/src/session.rs b/clients/linux/src/session.rs index e0c9907..ce3fc69 100644 --- a/clients/linux/src/session.rs +++ b/clients/linux/src/session.rs @@ -337,7 +337,8 @@ fn pump( // through the same throttle as loss recovery below. if decoder.take_keyframe_request() { let now = Instant::now(); - if last_kf_req.is_none_or(|t| now.duration_since(t) >= Duration::from_millis(100)) + if last_kf_req + .is_none_or(|t| now.duration_since(t) >= Duration::from_millis(100)) { last_kf_req = Some(now); let _ = connector.request_keyframe();