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)?;