fix: correct stale doc on PatchItem::Unreadable — promotion shipped via Mapfile::record, not PatchSink
This commit is contained in:
+4
-3
@@ -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 },
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user