proxmox-async: rustfmt (again)

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2022-02-08 14:52:42 +01:00
parent 09d1344d61
commit 9ba2092d1b
2 changed files with 8 additions and 2 deletions

View File

@ -16,7 +16,10 @@ pub struct WrappedReaderStream<R: Read + Unpin> {
impl<R: Read + Unpin> WrappedReaderStream<R> {
pub fn new(reader: R) -> Self {
Self { reader, buffer: vec::undefined(64 * 1024) }
Self {
reader,
buffer: vec::undefined(64 * 1024),
}
}
}

View File

@ -22,7 +22,10 @@ impl<R: AsyncRead + Unpin> AsyncReaderStream<R> {
}
pub fn with_buffer_size(reader: R, buffer_size: usize) -> Self {
Self { reader, buffer: vec::undefined(buffer_size) }
Self {
reader,
buffer: vec::undefined(buffer_size),
}
}
}