]> git.proxmox.com Git - pxar.git/commitdiff
rustfmt
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 31 Mar 2021 11:52:09 +0000 (13:52 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 31 Mar 2021 11:52:09 +0000 (13:52 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/encoder/mod.rs

index 6311807ea221542cf5d14c870681da70e6d39535..5f7294a0c672a396371d89a01f8bed4cdb8a4092 100644 (file)
@@ -84,9 +84,7 @@ async fn seq_write<T: SeqWrite + ?Sized>(
 }
 
 /// awaitable version of 'poll_flush'.
-async fn flush<T: SeqWrite + ?Sized>(
-    output: &mut T,
-) -> io::Result<()> {
+async fn flush<T: SeqWrite + ?Sized>(output: &mut T) -> io::Result<()> {
     poll_fn(|cx| unsafe { Pin::new_unchecked(&mut *output).poll_flush(cx) }).await
 }