proxmox-async: rustfmt (again)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
09d1344d61
commit
9ba2092d1b
@ -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),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user