Skip to content

Commit 6927c96

Browse files
Seanimeoer
authored andcommitted
chore: cargo fmt
1 parent b50a608 commit 6927c96

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

src/api/server/sync_io.rs

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,14 @@ impl<F: FileSystem + Sync> Server<F> {
5959
}
6060

6161
#[cfg(feature = "fusedev")]
62-
/// Send a resend notification message to the kernel via FUSE. This function should be invoked as part of
63-
/// the crash recovery routine. Given that FUSE initialization does not occur again during recovery,
64-
/// the capability to support resend notifications may not be automatically detected. It is the responsibility
62+
/// Send a resend notification message to the kernel via FUSE. This function should be invoked as part of
63+
/// the crash recovery routine. Given that FUSE initialization does not occur again during recovery,
64+
/// the capability to support resend notifications may not be automatically detected. It is the responsibility
6565
/// of the upper layers to verify and persist the kernel's support for this feature upon the initial FUSE setup.
66-
pub fn notify_resend<S: BitmapSlice>(
67-
&self,
68-
mut w: FuseDevWriter<'_, S>,
69-
) -> Result<()> {
66+
pub fn notify_resend<S: BitmapSlice>(&self, mut w: FuseDevWriter<'_, S>) -> Result<()> {
7067
let mut buffer_writer = w.split_at(0).map_err(Error::FailedToSplitWriter)?;
7168
let header = {
72-
OutHeader{
69+
OutHeader {
7370
unique: 0,
7471
error: NotifyOpcode::Resend as i32,
7572
..Default::default()

0 commit comments

Comments
 (0)