Skip to content

Commit

Permalink
rustfmt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeeter committed Mar 11, 2024
1 parent 5818632 commit 8133d70
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions downstairs/src/region.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1150,9 +1150,7 @@ impl Region {
let handle = tokio::task::spawn_blocking(
move || -> Result<(), CrucibleError> {
let file = File::open(&dir)?;
let rc = unsafe {
zfs_fioffs(file.as_raw_fd())
};
let rc = unsafe { zfs_fioffs(file.as_raw_fd()) };
if let Err(e) = rc {
let e: std::io::Error = e.into();
Err(CrucibleError::from(e))
Expand Down

0 comments on commit 8133d70

Please sign in to comment.