mirror of
https://github.com/async-rs/async-std.git
synced 2025-03-28 20:16:41 +00:00
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.
|
// 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();
|
let mut buffer = buffer.as_mut().unwrap();
|
||||||
|
|
||||||
// Copy the data from the buffer into the writer until it's done.
|
// Copy the data from the buffer into the writer until it's done.
|
||||||
|
|
Loading…
Reference in a new issue