From f6b0721f06c2920b782fe6d0e668f2173ce482ff Mon Sep 17 00:00:00 2001 From: marvin Date: Thu, 10 Sep 2026 12:16:05 +0200 Subject: [PATCH] Rewrite install_into_rootfs doc comment to omit temp-file detail --- src/inject.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inject.rs b/src/inject.rs index ee7bb84..428264d 100644 --- a/src/inject.rs +++ b/src/inject.rs @@ -87,8 +87,8 @@ pub fn build_exec_script(command: &str, env: &[String], working_dir: Option<&str lines } -/// Write `content` to a temp file and install it into the mounted rootfs at -/// `/slim/` with the given mode. +/// Install `content` into the mounted rootfs at `/slim/` with +/// the given mode. fn install_into_rootfs(mount: &str, name: &str, mode: &str, content: &str) -> Result<()> { let temp = tempfile::NamedTempFile::new()?; fs::write(temp.path(), content)?;