From 86de08953fb2c7132ad037f5f4fa74470290bb52 Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Fri, 2 Aug 2024 15:10:58 +0800 Subject: [PATCH] chore: Make rustfmt happy Signed-off-by: Xuanwo --- monoio-compat/src/box_future.rs | 2 +- monoio/src/fs/metadata/mod.rs | 9 +++------ monoio/src/fs/metadata/windows.rs | 1 + 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/monoio-compat/src/box_future.rs b/monoio-compat/src/box_future.rs index c51cf093..dab601af 100644 --- a/monoio-compat/src/box_future.rs +++ b/monoio-compat/src/box_future.rs @@ -1,7 +1,7 @@ use std::{future::Future, io}; use monoio::BufResult; -use reusable_box_future::{ReusableLocalBoxFuture, ReusableBoxFuture}; +use reusable_box_future::{ReusableBoxFuture, ReusableLocalBoxFuture}; use crate::buf::{Buf, RawBuf}; diff --git a/monoio/src/fs/metadata/mod.rs b/monoio/src/fs/metadata/mod.rs index ae0fc755..55359bf0 100644 --- a/monoio/src/fs/metadata/mod.rs +++ b/monoio/src/fs/metadata/mod.rs @@ -1,13 +1,10 @@ mod unix; mod windows; -use crate::driver::op::Op; +use std::{os::unix::fs::MetadataExt, path::Path, time::SystemTime}; -use super::file_type::FileType; -use super::permissions::Permissions; -use std::os::unix::fs::MetadataExt; -use std::path::Path; -use std::time::SystemTime; +use super::{file_type::FileType, permissions::Permissions}; +use crate::driver::op::Op; /// Given a path, query the file system to get information about a file, /// directory, etc. diff --git a/monoio/src/fs/metadata/windows.rs b/monoio/src/fs/metadata/windows.rs index e69de29b..8b137891 100644 --- a/monoio/src/fs/metadata/windows.rs +++ b/monoio/src/fs/metadata/windows.rs @@ -0,0 +1 @@ +