From c5ee9871ecac64dbfd8d2bb7dad49ecd0202d0a3 Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Sun, 14 Jun 2026 22:50:31 +0000 Subject: [PATCH] style(host/gamescope): wrap long PENDING_RESTORE assignment (rustfmt) The schedule_restore_tv_session assignment exceeded 100 cols; rustfmt wraps it. The fix was made post-commit but only m3.rs was staged for 95a820b, so CI's fmt --check failed on the committed unwrapped line. Stage the wrap. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/punktfunk-host/src/vdisplay/gamescope.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/punktfunk-host/src/vdisplay/gamescope.rs b/crates/punktfunk-host/src/vdisplay/gamescope.rs index c82819d..e61b6b2 100644 --- a/crates/punktfunk-host/src/vdisplay/gamescope.rs +++ b/crates/punktfunk-host/src/vdisplay/gamescope.rs @@ -247,7 +247,8 @@ pub fn schedule_restore_tv_session() { { return; // nothing was stolen → nothing to restore (also the non-Bazzite path) } - *PENDING_RESTORE.lock().unwrap_or_else(|e| e.into_inner()) = Some(Instant::now() + RESTORE_DEBOUNCE); + *PENDING_RESTORE.lock().unwrap_or_else(|e| e.into_inner()) = + Some(Instant::now() + RESTORE_DEBOUNCE); tracing::info!( secs = RESTORE_DEBOUNCE.as_secs(), "gamescope: scheduled debounced TV-session restore (cancelled if a client reconnects)"