forked from mirror/async-std
cargo fmt
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
This commit is contained in:
parent
f3eba1fb48
commit
a1cd76e244
1 changed files with 6 additions and 1 deletions
|
@ -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…
Reference in a new issue