mirror of
https://github.com/lune-org/lune.git
synced 2025-04-19 11:23:57 +01:00
refactor: minor formatting change
This commit is contained in:
parent
a30380cba8
commit
daedbf9899
1 changed files with 1 additions and 1 deletions
|
@ -20,8 +20,8 @@ impl<R: AsyncRead + Unpin> ChildProcessReader<R> {
|
||||||
|
|
||||||
pub async fn read_to_end(&mut self) -> LuaResult<Vec<u8>> {
|
pub async fn read_to_end(&mut self) -> LuaResult<Vec<u8>> {
|
||||||
let mut buf = vec![];
|
let mut buf = vec![];
|
||||||
|
|
||||||
self.0.read_to_end(&mut buf).await?;
|
self.0.read_to_end(&mut buf).await?;
|
||||||
|
|
||||||
Ok(buf)
|
Ok(buf)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue