diff --git a/crates/fs-lock/src/lib.rs b/crates/fs-lock/src/lib.rs index 7a0fd8f7..abf60873 100644 --- a/crates/fs-lock/src/lib.rs +++ b/crates/fs-lock/src/lib.rs @@ -5,18 +5,15 @@ use std::{ fs::File, io::{self, IoSlice, IoSliceMut, SeekFrom}, - ops, path::Path, + ops, + path::Path, }; use fs4::fs_std::FileExt; /// A locked file. #[derive(Debug)] -pub struct FileLock( - File, - #[cfg(feature = "tracing")] - Option>, -); +pub struct FileLock(File, #[cfg(feature = "tracing")] Option>); impl FileLock { #[cfg(not(feature = "tracing"))]