From f539ef4a87061fe70db07b44417b1c14355cb2f4 Mon Sep 17 00:00:00 2001 From: Luke Tornquist Date: Thu, 29 Oct 2026 17:24:57 -0400 Subject: [PATCH] docs(buzz-acp): fix stale prepare_reconnect doc comment (#8697) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Follow-up to #8653. The `prepare_reconnect` doc comment in `crates/buzz-acp/src/relay.rs` still said it runs `begin_reconnect` "with the real clock and RNG". `begin_reconnect` stopped taking a clock when `live_until` moved to #8688, so the comment now says "with the real RNG". Comment-only change. **What got simpler:** nothing in the code changes; the doc now matches it. ### Related issue N/A. This was a review note on #8653. ### Testing Comment-only change, so I ran nothing locally. CI covers fmt and clippy. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Luke Tornquist Co-authored-by: Elrond <28d6302a099e5225b02c4155ac4236e4912603df2ab08dbfc2f4fef08ce598c8@buzz.block.builderlab.xyz> Co-authored-by: Claude Opus 5.5 --- crates/buzz-acp/src/relay.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/buzz-acp/src/relay.rs b/crates/buzz-acp/src/relay.rs index 7de82ad4fe..0538233267 100644 --- a/crates/buzz-acp/src/relay.rs +++ b/crates/buzz-acp/src/relay.rs @@ -3785,7 +3785,7 @@ async fn shutdown_aware_sleep( } /// Reconnect entry shared by `try_autonomous_reconnect` and -/// `wait_for_reconnect`: runs [`begin_reconnect`] with the real clock and RNG, +/// `wait_for_reconnect`: runs [`begin_reconnect`] with the real RNG, /// then waits out the first-attempt delay. Returns `false` on shutdown. async fn prepare_reconnect(cmd_rx: &mut mpsc::Receiver, state: &mut BgState) -> bool { let delay = begin_reconnect(state, random_unit_sample());