From a1cd76e24436117d43c85a91e6b9469ca0c58924 Mon Sep 17 00:00:00 2001 From: Yoshua Wuyts Date: Sun, 13 Oct 2019 01:36:44 +0200 Subject: [PATCH] cargo fmt Signed-off-by: Yoshua Wuyts --- src/io/write/write_fmt.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/io/write/write_fmt.rs b/src/io/write/write_fmt.rs index bd2dd67..f594228 100644 --- a/src/io/write/write_fmt.rs +++ b/src/io/write/write_fmt.rs @@ -26,7 +26,12 @@ impl Future for WriteFmtFuture<'_, T> { } // Get the types from the future. - let Self { writer, amt, buffer, .. } = &mut *self; + let Self { + writer, + amt, + buffer, + .. + } = &mut *self; let mut buffer = buffer.as_mut().unwrap(); // Copy the data from the buffer into the writer until it's done.