Skip to content

Commit

Permalink
refactor: minor formatting change
Browse files Browse the repository at this point in the history
  • Loading branch information
CompeyDev committed Jun 10, 2024
1 parent a30380c commit daedbf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/lune-std-process/src/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ impl<R: AsyncRead + Unpin> ChildProcessReader<R> {

pub async fn read_to_end(&mut self) -> LuaResult<Vec<u8>> {
let mut buf = vec![];

self.0.read_to_end(&mut buf).await?;

Ok(buf)
}
}
Expand Down

0 comments on commit daedbf9

Please sign in to comment.