M3b plan: task 11 gives Podman::egress_dir(), so the field is read

Without it the field was never read in task 11, clippy's dead_code failed the
gate, and #[allow] is forbidden; the implementer stopped on the dilemma.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-23 07:16:56 -07:00
co-authored by Claude Opus 5.5
parent 49ac8d72d2
commit 4458369d64
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -35,6 +35,9 @@ pub struct Podman { /* runner: Runner, egress_dir: PathBuf, log: Log, next: Atom
impl Podman {
/// `egress_dir` is `Config::egress_dir()`; task 12 uses it.
pub fn new(runner: Runner, egress_dir: PathBuf, log: Log) -> Podman;
/// Where `http_fetch` calls get their directories. Nothing in this task calls it; it is public,
/// so the field counts as read and clippy's `dead_code` does not fire. Do not add `#[allow]`.
pub fn egress_dir(&self) -> &Path;
}
impl Runtime for Podman {
fn run(&self, spec: &RunSpec) -> Result<RunOutput, RunError>;