fix: correct stale doc on PatchItem::Unreadable — promotion shipped via Mapfile::record, not PatchSink

This commit is contained in:
Matthew Jackson
2026-06-24 05:02:24 -07:00
parent c706a94312
commit cdd11ccb25
+4 -3
View File
@@ -76,9 +76,10 @@ pub(super) enum PatchItem {
/// `NonTrimmed` so future passes get another shot at them). Kept /// `NonTrimmed` so future passes get another shot at them). Kept
/// in the enum for the orchestrator-side end-of-recovery promotion /// in the enum for the orchestrator-side end-of-recovery promotion
/// (autorip, after the final retry pass completes, promotes /// (autorip, after the final retry pass completes, promotes
/// still-NonTrimmed bytes to Unreadable). When that ships, this /// still-NonTrimmed bytes to Unreadable). The orchestrator (autorip)
/// becomes the variant the orchestrator emits to the same /// performs this promotion directly via `Mapfile::record()` after all
/// PatchSink. /// retry passes complete, not by emitting to `PatchSink`. This variant
/// remains unused by the library itself.
#[allow(dead_code)] #[allow(dead_code)]
Unreadable { pos: u64, len: u64 }, Unreadable { pos: u64, len: u64 },