From daedbf9899772ad9bf4c4d4ae6267a5e315ac4a1 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Mon, 10 Jun 2024 14:59:03 +0530 Subject: [PATCH] refactor: minor formatting change --- crates/lune-std-process/src/stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/lune-std-process/src/stream.rs b/crates/lune-std-process/src/stream.rs index fe6bd8b0..2babe8dd 100644 --- a/crates/lune-std-process/src/stream.rs +++ b/crates/lune-std-process/src/stream.rs @@ -20,8 +20,8 @@ impl ChildProcessReader { pub async fn read_to_end(&mut self) -> LuaResult> { let mut buf = vec![]; - self.0.read_to_end(&mut buf).await?; + Ok(buf) } }