From 090f6f6afa1efa058e7891734411309a47a69a83 Mon Sep 17 00:00:00 2001
From: Ilya Bobyr <ilya.bobyr@gmail.com>
Date: Tue, 23 Apr 2019 19:17:00 +0000
Subject: [PATCH] [pseudo-fs] Ran rustfmt on file/asynchronous.rs

Our rustfmt settings have change or we forgot to run it at some point.

Change-Id: Ifb870761c7e3290e267017d03d47b01b22f41a8d
---
 .../fuchsia-vfs-pseudo-fs/src/file/asynchronous.rs   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/garnet/public/rust/fuchsia-vfs/fuchsia-vfs-pseudo-fs/src/file/asynchronous.rs b/garnet/public/rust/fuchsia-vfs/fuchsia-vfs-pseudo-fs/src/file/asynchronous.rs
index 4d9955a90ea..ab5c2be23dd 100644
--- a/garnet/public/rust/fuchsia-vfs/fuchsia-vfs-pseudo-fs/src/file/asynchronous.rs
+++ b/garnet/public/rust/fuchsia-vfs/fuchsia-vfs-pseudo-fs/src/file/asynchronous.rs
@@ -29,7 +29,8 @@ use {
     crate::directory::entry::{DirectoryEntry, EntryInfo},
     crate::file::{
         connection::{
-            BufferResult, ConnectionState, FileConnection, FileConnectionFuture, InitialConnectionState,
+            BufferResult, ConnectionState, FileConnection, FileConnectionFuture,
+            InitialConnectionState,
         },
         DEFAULT_READ_ONLY_PROTECTION_ATTRIBUTES, DEFAULT_READ_WRITE_PROTECTION_ATTRIBUTES,
         DEFAULT_WRITE_ONLY_PROTECTION_ATTRIBUTES,
@@ -782,13 +783,12 @@ mod tests {
     fn write_error() {
         run_server_client(
             OPEN_RIGHT_WRITABLE,
-            write_only(
-                100,
-                |content| fast_future!({
+            write_only(100, |content| {
+                fast_future!({
                     assert_eq!(*&content, b"Wrong format");
                     Err(Status::INVALID_ARGS)
-                }),
-            ),
+                })
+            }),
             async move |proxy| {
                 assert_write!(proxy, "Wrong");
                 assert_write!(proxy, " format");
-- 
GitLab