From 06ee748689656cb0203ba185674dadca2d81ca93 Mon Sep 17 00:00:00 2001 From: Matthew Jackson <1085847+MattJackson@users.noreply.github.com> Date: Wed, 24 Jun 2026 04:52:04 -0700 Subject: [PATCH] fix: remove stale sweep_pipeline.rs cross-references in patch.rs comments --- src/disc/patch.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/disc/patch.rs b/src/disc/patch.rs index 6ca81cd..c6908ee 100644 --- a/src/disc/patch.rs +++ b/src/disc/patch.rs @@ -213,9 +213,8 @@ impl PatchSink { // writes; contention is single-acquire so the lock is never // poisoned in practice. If it ever did get poisoned we'd want // the underlying error surfaced rather than silently swallowed, - // so we propagate the poison panic. (Same posture as - // `sweep_pipeline.rs` — it never recovers from a poisoned - // mutex either.) + // so we propagate the poison panic rather than silently + // continuing with stale shared state. let mut guard = self .shared .lock() @@ -370,7 +369,6 @@ pub(super) fn skip_sectors_for_probe(idx: usize) -> u64 { /// Send a `PatchItem` and translate a `SendError` (consumer thread died /// / panicked) into a library error so the caller propagates cleanly. -/// Mirrors `sweep_pipeline.rs`'s `send_or_abort`. pub(super) fn send_or_abort( pipe: &Pipeline, item: PatchItem,