From 18bf86833173025085187d878ff887eb590fc316 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 10 Oct 2023 11:49:39 +0000 Subject: [PATCH] Format Rust code using rustfmt --- src/filesystem/mod.rs | 2 +- src/vfs.rs | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/filesystem/mod.rs b/src/filesystem/mod.rs index 9d37751b..48ab919f 100644 --- a/src/filesystem/mod.rs +++ b/src/filesystem/mod.rs @@ -789,4 +789,4 @@ fn make_error_message(our_name: String, km: &KernelMessage, error: FsError) -> K payload: None, signed_capabilities: None, } -} \ No newline at end of file +} diff --git a/src/vfs.rs b/src/vfs.rs index d2a84ff5..64e98a86 100644 --- a/src/vfs.rs +++ b/src/vfs.rs @@ -225,7 +225,9 @@ async fn load_state_from_reboot( println!("vfs lsfr 4\r"); } -async fn noop_future() -> Option { None } +async fn noop_future() -> Option { + None +} pub async fn vfs( our_node: String, @@ -252,7 +254,8 @@ pub async fn vfs( &send_to_loop, &mut recv_from_loop, &mut drive_to_vfs, - ).await; + ) + .await; for vfs_message in vfs_messages { send_to_loop.send(vfs_message).await.unwrap(); @@ -1481,4 +1484,4 @@ async fn match_request( } } }) -} \ No newline at end of file +}