cargo fmt

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
pull/311/head
Yoshua Wuyts 5 years ago
parent f3eba1fb48
commit a1cd76e244
No known key found for this signature in database
GPG Key ID: 24EA8164F96777ED

@ -26,7 +26,12 @@ impl<T: Write + Unpin + ?Sized> 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.

Loading…
Cancel
Save