From 9ba2092d1b8fb5c82c5113e4e0e6517ebbda45ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 8 Feb 2022 14:52:42 +0100 Subject: [PATCH] proxmox-async: rustfmt (again) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabian Grünbichler --- proxmox-async/src/blocking/wrapped_reader_stream.rs | 5 ++++- proxmox-async/src/stream/async_reader_stream.rs | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/proxmox-async/src/blocking/wrapped_reader_stream.rs b/proxmox-async/src/blocking/wrapped_reader_stream.rs index 08b826bd..6940ebde 100644 --- a/proxmox-async/src/blocking/wrapped_reader_stream.rs +++ b/proxmox-async/src/blocking/wrapped_reader_stream.rs @@ -16,7 +16,10 @@ pub struct WrappedReaderStream { impl WrappedReaderStream { pub fn new(reader: R) -> Self { - Self { reader, buffer: vec::undefined(64 * 1024) } + Self { + reader, + buffer: vec::undefined(64 * 1024), + } } } diff --git a/proxmox-async/src/stream/async_reader_stream.rs b/proxmox-async/src/stream/async_reader_stream.rs index c79468ef..e6207bbf 100644 --- a/proxmox-async/src/stream/async_reader_stream.rs +++ b/proxmox-async/src/stream/async_reader_stream.rs @@ -22,7 +22,10 @@ impl AsyncReaderStream { } 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), + } } }