Skip to content

Commit e5e12ae

Browse files
RuoqingHeimeoer
authored andcommitted
chore: Apply cargo fmt after workspace change
The test binaries are now members of root workspace, which are now watched by every cargo commands invoked from root workspace. Apply `cargo fmt` to format previously ignored code. Signed-off-by: Ruoqing He <[email protected]>
1 parent 2ea791b commit e5e12ae

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/passthrough/src/main.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,13 @@ impl Daemon {
7070
let mut se =
7171
FuseSession::new(Path::new(&self.mountpoint), "testpassthrough", "", false).unwrap();
7272
se.mount().unwrap();
73-
73+
7474
se.try_with_writer(|writer| {
7575
self.server
76-
.notify_resend(writer).map_err(PassthroughFsError::FuseError)
77-
}).map_err(|_| Error::from_raw_os_error(libc::EINVAL))?;
76+
.notify_resend(writer)
77+
.map_err(PassthroughFsError::FuseError)
78+
})
79+
.map_err(|_| Error::from_raw_os_error(libc::EINVAL))?;
7880

7981
for _ in 0..self.thread_cnt {
8082
let mut server = FuseServer {

0 commit comments

Comments
 (0)